[Date Prev][Date Next][Thread Prev][Thread Next]
[Search]
[Date Index]
[Thread Index]
Re: [MacPerl] getting the size of an image
At 13.15 -0400 1999.07.28, Ben Brown wrote:
>I am working on a script that takes a set of photoshop jpg's and buildes a
>HTML
>slide show out of them. It pulls the text out of the resource fork for each
>image, and organizes the page based on te names of the images.
>
>My problem is that I need to be able to get the actual size of the images so
>that I may write that into the HTML. I had planned on using the pict preview
>to determine the height and width(i.e. preview width * (true height/preview
>height) = true width) this was before my co-worker reminded me that not all of
>our photos came in with one standard height.
The Image::Size module on CPAN can give you the dimensions of many popular
image formats (including JPEG).
--
Chris Nandor mailto:pudge@pobox.com http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6'])
===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org