identify -format "%[colorspace]" file.ext Does Not Work

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
blue-j
Posts: 68
Joined: 2007-06-12T14:03:18-07:00

identify -format "%[colorspace]" file.ext Does Not Work

Post by blue-j »

Hi everyone, hope you're doing well. I've been trying to branch off colorspace, and have tried

identify -format "%[colorspace]" file.ext

as suggested in:

http://www.imagemagick.org/script/escape.php

but get a blank line. Some other bracketed options work, but not colorspace, nor depth. I have not tried them all.

I know I can do %r, but would prefer not to have to trim the string. Any advice?

I'm using 6.5.4.

Thanks so much!

-J
Post Reply