Re: Images and PDF:API2
"spinningwebz2002" <spinningwebz2002-/[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <[email protected]> |
--- In [email protected], "Mark Fowle" <mfowle@...> wrote: > > There are a fair number of image manipulation options in PDF::API2 > > http://search.cpan.org/dist/PDF-API2/lib/PDF/API2/Content.pm > > has a lot of options outlined > > > > _____ > > From: [email protected] > [mailto:[email protected]] On Behalf Of spinningwebz2002 > Sent: Wednesday, August 08, 2007 9:38 PM > To: [email protected] > Subject: [perl-text-pdf-modules] Images and PDF:API2 > > > > Are there any image manipulation options in PDF:API. What I am looking > for is being able to set the width or height of the image, or crop an > image to a certain dimensions. > > Bill H > Thanks for the tip. Do you know how the scale option works? Or maybe if I tell you want I want to happen you can give me some pointers I want center an image and have the height be a particular size and the width be proportional to that. If it is possible I would like to crop the extra width if any, but I an always draw a white box over the extra width if need be. Bill H