Forum Moderators: coopster & phranque

Message Too Old, No Replies

Finding the dimensions of a JPEG

how to find the width & height of an external JPEG

         

basenotes

6:09 pm on Jul 16, 2005 (gmt 0)

10+ Year Member



Hi all,

I'm trying to work out a way of getting the dimensions of an image in PERL.

I looked at image::size in CPAN but you only seem to be able to do it for images on the same server as the script.

Thanks in advance!

G

basenotes

5:35 pm on Jul 18, 2005 (gmt 0)

10+ Year Member



I've worked it out now. If anyone was interested, I retrieved the image to my server using LWP::Simple, and got the sie using Image::Size.

Straightforward, once I got the hang of it!