Page 1 of 1

Re: Strange problems with identify -format

Posted: 2009-02-10T23:07:19-07:00
by fmw42
emartin24 wrote:Hello,

If I run the following:
[pathToIdentify]/identify.exe [pathToImage]/image.jpg

I get:
[pathToImage]/image.jpg JPEG 1024x768 DirectClass 223kb 0.000u 0:01

However, if I run:
[pathToIdentify]/identify.exe -format "%w %h" [pathToImage]/image.jpg

I get nothing...no results. I've tried putting the -format part after the filename too. Tests have been done with the latest version of ImageMagick and 6.0.6.

Any ideas what might cause this issue?

Works for me on a Mac OSX IM 6.4.9-2 Q16

identify -format "%w %h" rose:
70 46