Hi, Does anyone know how to (temporarily) turn off the compression of the page contents? I need to see what PDF::API2 is actual creating. I tried searching the...
When you want to check during the creation process I cannot be of any help. Still, I use pdftks decompression feature. And it can even be integrated into vi......
You may have figured it out by now, but for reference, what may be happening is that when you use gfx->rotate more than once, the second and subsequent calls...
... Is there a reason not to include the patch in PDF::API2? I am looking at PDF::APIx::Layout but I will have to rewrite what I already have. Also it looks...
Hi all,
I'm trying to mix an image into an existing PDF document like this:
---
$gfxo=$pdf->image_jpeg($usegfx); # open picture source
foreach my $page...
Hi list - Has anyone got any examples (or docs) for using egstate (or should that be extgstate) text objects and fonts - I want to set text to be "overprint...
Hi! Has anyone made use of the Resource::Shading object to create a gradient? I'm specifically looking at an Axial type of gradient. If you have any...
Dear Group, Is there any way I could "Enable Comments" feature in my 1.4 PDF using API2? Regards Dominic...
Aqua
aqua@...
Apr 11, 2006 2:11 pm
2860
Hi! I'm trying to take a pdf, and a description of various fields on it, and create a key where the name of the fields is overlayed onto the pdf. This, of...
... This is light on details but, for Acrobat 5+ Readers you should be able to draw a white semi transparent rectangle over the whole page, and your text / ...
... Do you think you could send me a sample of how you did it anyway? I'm not necessarily tied to PDF::API2 for this; if Text::PDF is easier for this task,...
... I'm not working in PDF any more, but here's a script I modified in 2002. (based on graph.pl from the Text::PDF distribution I think) You should be able to...
... Hi! Thanks! Based on this, I came up with the following PDF::API2 code (this is very rough as I'm just doing a concept right now): my ($llx, $lly, $urx,...
Hi, I found PDF::APIx::Layout to be very very helpful in adding content to predefined PDF documents. Many thanks to Alfred for this incredible module. ...
Is it a bug that the +/- character (0xB1) is not rendered by Times and Courier corefonts, or is this character simply missing? This is how to reproduce the...
I get from the docs how to make an image file. Basically, my $picture = '/path/to/picture'; my $photo = $page->gfx; my $photo_file=$pdf->image_jpeg($picture); ...
I would suspect you could go via a GD image object from a stream [haven't tried myself] - though I have found during recent experiments that the speed, ...
... I don't know why some fonts have one encoding and some have another, but you can change it with like so: $pdf->corefont ($font, -encode => 'iso8859-1' ),...
I am generating three-page pdf files with only text and graphics (rectangles, arc, lines). I'm a fair bit surprised to find that these PDF files are over 130kb...
Hello, Somewhere there is a script pdf-optimize.pl It may or may not be installed with PDF::API2, I forget, but it is also available on CPAN under contrib.: ...
Mark Fowle
mfowle@...
May 3, 2006 1:06 pm
2872
... Thanks for that Mark, however it doesn't have the required effect .. the file is now 4 bytes LARGER! pdf-optimize.pl /tmp/Cheese.large.pdf...
OK I have only seen that in situations where the pdf is already very clean, either the pdf is simple, or the file has already been cleaned. There are other...
Mark Fowle
mfowle@...
May 4, 2006 1:25 pm
2874
I saw drastic differences in the size of the resulting pdf's depending on the types of the images that I was putting into the pdf. Different image formats...
Bascially I need to process existing PDFs and perform the following operations. * Build a basic semantic understanding of the document based on the tagged ...