Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Get the dimensions of most images from the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Get the dimensions of most images from the command line
Authored by: spiffy on Dec 01, '03 12:53:16PM
To get the dimensions of JPEG images (and pretty much all other image types) you can use ImageMagick's identify command. ImageMagick is available via fink.

[ Reply to This | # ]
Get the dimensions of most images from the command line
Authored by: aubreyapple on Dec 08, '03 07:16:29PM

With X.2.8, and trying to use identify, as suggested:

%identify file.jpg
identify: No decode delegate for this image format (file.jpg).
% which identify
/usr/local/bin/identify
% identify -version
Version: ImageMagick 5.5.7 10/20/03 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 2003 ImageMagick Studio LLC
% file file.jpg
file.jpg: JPEG image data, JFIF standard

Any ideas? This is true for all the jpeg images I have tried.



[ Reply to This | # ]