constantin.iliescu has asked for the wisdom of the Perl Monks concerning the following question:
I have a problem trying to add a image on a PDF page using PDF::API2::Simple. This didn't appear when using the same libraries on Perl 8.08. Whenever I try to add the image as wide as the PDF page, a white vertical line appears on the right of the image.
# image path my $imageHeaderPath = '/path/to/image/image.jpg'; # insert image $pdf->image ( $imageHeaderPath, width => 612, height => 50, x => 0, y => $pdf->y );
Update: it seems that the problem isn't with images only, but with all the page's content. The white line appears over text or any graphics.
Also, the second image must be a png.
Please help.
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl 8.10 PDF::API2::Simple problem (Perl versions)
by moritz (Cardinal) on Sep 10, 2009 at 06:43 UTC | |
by constantin.iliescu (Initiate) on Sep 10, 2009 at 08:14 UTC | |
by almut (Canon) on Sep 10, 2009 at 09:52 UTC | |
by constantin.iliescu (Initiate) on Sep 10, 2009 at 11:37 UTC | |
by almut (Canon) on Sep 10, 2009 at 14:15 UTC | |
|