Skip Menu |

This queue is for tickets about the PDF-API2 CPAN distribution.

Report information
The Basics
Id: 121302
Status: rejected
Priority: 0/
Queue: PDF-API2

People
Owner: Nobody in particular
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.2.0.2
Fixed in: (no value)



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.
Subject: image height and width
If I give a number in the argument, what does it do if the image is larger? Does it get cropped? Or resized? Or ignored? I can't find the documentation,
On Sat Apr 22 20:51:28 2017, NHORNE wrote: Show quoted text
> 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.
Support questions are best asked on Stack Overflow (you'll typically get a much quicker response there). See also the PDF::API2::Content documentation.