Post without Account — your post will be reviewed, and if appropriate, posted under Anonymous. You can also use this link to report any problems registering.
Places an image on the page in the specified location (lower left corner of image).If coordinate transformations have been made (see Coordinate Transformations above), the position and scale will be relative to the updated coordinates. Otherwise, [0,0] will represent the bottom left corner of the page, and $width and $height will be measured at 72dpi.For example, if you have a 600x600 image that you would like to be shown at 600dpi (i.e., one inch square), set the width and height to 72. (72 Big Points is one inch)
# 40. image(): display an image, 640x480 scaled to 160x120$grfx->translate($some_x, $some_y);my $img_obj = $pdf->image_jpeg('examples\resources\aptfrontview.jpg');$grfx->image($img_obj, 5,5, 160,120); # scaled to 160Wx120H px, lower left at 5,5 offset from base