in reply to Re^3: Perl 8.10 PDF::API2::Simple problem (module versions)
in thread Perl PDF::API2::Simple problem
Hi again!
Thank you very much for your time! I checked the versions as you suggested, and they are the same.
But I was wrong. The white line appears on both versions of perl. It seems stupid, but the line appears when I insert only one image on the page, like this:
my $pdf = PDF::API2::Simple->new( margin_left => 15, margin_top => 15, margin_right => 15, margin_bottom => 45, line_height => 12, ); $pdf->add_page(); #insert image $pdf->image ( '/path/to/image/one/image1.jpg', width => 612, height => 50, x => 0, y => $pdf->y - 50, ); $pdf->saveas('/path/to/pdf_file/filename.pdf');
If I add another image (only PNG) on the same page, everything looks ok. Any ideas?
Thanks again!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Perl 8.10 PDF::API2::Simple problem (module versions)
by almut (Canon) on Sep 10, 2009 at 14:15 UTC | |
by constantin.iliescu (Initiate) on Sep 14, 2009 at 06:02 UTC |