No luck, tried and getting an error:
in reply to Re: Adding Image to PDF
in thread Adding Image to PDF
Can't locate object method "image" via package "PDF::API2" at test.pl
If I change this line:
my $img = $pdf->image("images/logo.jpeg", 100, 60); # define the image
+ and image dimensions
my $img = $pdf->image_jpeg("images/logo.jpeg", 100, 60); # define the
+image and image dimensions
I am getting this:
Can't call method "val" on an undefined value at /usr/local/share/perl
+5/PDF/API2/Resource/XObject/Image.pm line 66.
Any more input? Thanks!