Page 1 of 1

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

Posted: 2009-06-29T01:44:59-07:00
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