Re: Images and PDF:API2
Ben <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <6696987.1186660961693.JavaMail.root@elwamui-rubis.atl.sa.earthlink.net> |
here is a start for you
setImage($imageName, $x, $y, $width, $hieght);
sub setImage{
my $photo_file=$pdf->image_png($_[0] ,-lossless => 1);
my $photo = $page->gfx;
## add photo to pdf include cordinates and size - image($photo, x, y, width, hieght);
$photo->image($photo_file, $_[1], $_[2], $_[3], $_[4]);
}
-----Origin
al Message-----
From: spinningwebz2002
Sent: Aug 8, 2007 9:37 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
__._,_.___
Messages in this topic (0)
Reply (via web post) |
Start a new topic
Messages
| Polls
| Members
To unsubscribe from this group, send an email to:
perl-text-pdf-modules-unsubscribe-Km8ibD4bFueDmjp1MlKEbA@public.gmane.org
http://groups.yahoo.com/;_ylc=X3oDMTJkYjY2OWNwBF9TAzk3NDc2NTkwBGdycElkAzIwMTczODIEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMTg2NjYwOTY5
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group |
Yahoo! Groups Terms of Use |
Unsubscribe
Recent Activity
-
1
New Members
Visit Your Group
SPONSORED LINKS
- Convert pdf
- Create pdf
- Pdf to dxf
- Pdf server
- Pdf creator
Y! Messenger
Group get-together
Host a free online
conference on IM.
New web site?
Drive traffic now.
Get your business
on Yahoo! search.
Food Lovers
Real Food Group
on Yahoo! Groups
find out more.
.
__,_._,___