Re: Re: Images and PDF:API2
"Mr. Shawn H. Corey" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <[email protected]> |
spinningwebz2002 wrote: > If I know the image hieght but not the width (i am resizing it using > Imagemagick), how would I get it to show the image correctly? Same calculation but with height. $image_height = $height * $dpi; $result_height = $what_ever * 72; $scale = $image_height / $result_height; -- Just my 0.00000002 million dollars worth, Shawn "For the things we have to learn before we can do them, we learn by doing them." Aristotle