##
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
##
##
Can't call method "val" on an undefined value at /usr/local/share/perl5/PDF/API2/Resource/XObject/Image.pm line 66.