Subject: | image insertion question - can't find documentation |
The image insertion seems to be done by
$image = $pdf->image_jpeg('foo.jpg);
$gfx = $page->gfx();
$gfx->image($image, $x, $y);
Guessing that x and y are co-ordinates on the page, are they the top left of the image, or bottom left, or centre, or somewhere else? I can't find the documentation.