For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > July 2005 > Get Image Dimensions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Get Image Dimensions
Daniel Kasak

2005-07-26, 4:05 am

Hi all.

I need the fastest ( ie runtime ) possible way to get an image's
dimensions, and it needs to work on Windows ( without too much mucking
around, too ). It needs to work with png and jpg images - anything else
is a bonus.

I was thinking about using ImageMagick, but I'm not sure if that
satisfies my requirement of working on Windows ... easily. There are
binaries available for Windows, but I'm not sure whether they're current
or supported in any way.

Any suggestions?

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak@nusconsulting.com.au
website: http://www.nusconsulting.com.au
Jeff 'japhy' Pinyan

2005-07-26, 4:05 am

On Jul 26, Daniel Kasak said:

> I need the fastest ( ie runtime ) possible way to get an image's
> dimensions, and it needs to work on Windows ( without too much mucking
> around, too ). It needs to work with png and jpg images - anything else
> is a bonus.


Well, there's Image::Size on CPAN...

--
Jeff "japhy" Pinyan % How can we ever be the sold short or
RPI Acacia Brother #734 % the cheated, we who for every service
http://japhy.perlmonk.org/ % have long ago been overpaid?
http://www.perlmonks.org/ % -- Meister Eckhart
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com