irnbruusa has asked for the wisdom of the Perl Monks concerning the following question:
I am new to perl and am using PDF::API3::Compat::API2 to generate a PDF. All the text gets generated fine. I just want to add images, but I am not sure how to do this
I am trying using the following, but it never gets added to the pdf document
my $image = $pdf->image_png("myimage.png" ); $pdf->page( $image->width, $image->height ); #$page->image( $image, 0, 0 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Trying to add an image to a pdf file using PDF::API3::Compat::API2;
by Anonymous Monk on Jun 14, 2012 at 23:24 UTC | |
by irnbruusa (Initiate) on Jun 14, 2012 at 23:49 UTC |