Page 1 of 1

magick -identify doesn't recognize image file

Posted: 2017-06-29T11:09:21-07:00
by sdas
On Windows 7, I want to get the resolution of an image or movie file.

This:
magick -identify inputfile.exr
Prints this:
magick: no images found for operation `-identify' at CLI arg 1 @ error/operation.c/CLIOption/5225.
magick: no image to apply a property "%w" @ warning/property.c/GetMagickPropertyLetter/2550.
magick: unknown image property "%w" @ warning/property.c/InterpretImageProperties/3489.
magick: no image to apply a property "%h" @ warning/property.c/GetMagickPropertyLetter/2438.
magick: unknown image property "%h" @ warning/property.c/InterpretImageProperties/3489.
magick: no image to apply a property "%m" @ warning/property.c/GetMagickPropertyLetter/2469.
magick: unknown image property "%m" @ warning/property.c/InterpretImageProperties/3489.

But this works fine, so it can see the image:
magick inputfile.exr outputfile.jpg

What am I doing wrong? Thanks!

Re: magick -identify doesn't recognize image file

Posted: 2017-06-29T11:15:41-07:00
by fmw42
Use

Code: Select all

magick identify inputfile.exr

Re: magick -identify doesn't recognize image file

Posted: 2017-06-29T11:39:14-07:00
by sdas
Thanks!