magick -identify doesn't recognize image file

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
sdas
Posts: 9
Joined: 2016-09-12T10:46:48-07:00
Authentication code: 1151

magick -identify doesn't recognize image file

Post 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!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: magick -identify doesn't recognize image file

Post by fmw42 »

Use

Code: Select all

magick identify inputfile.exr
sdas
Posts: 9
Joined: 2016-09-12T10:46:48-07:00
Authentication code: 1151

Re: magick -identify doesn't recognize image file

Post by sdas »

Thanks!
Post Reply