Getting the color profile name using identify -format

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
dsola
Posts: 2
Joined: 2011-01-25T07:00:44-07:00
Authentication code: 8675308

Getting the color profile name using identify -format

Post by dsola »

Hi everyone,
I'm trying to get the ICC profile name of an image (which is visible using the -verbose option) using identify and the -format option. I've searched in the escapes list but I don't find it. I would like to do something like:

identify -format "%m %w %h %[icc-name]" <fileName>

But of course the property %[icc-name] doesn't exist. Does anyone know how can I get this data or if there is an easier way to get it?

Thanks a lot,
Dani
Post Reply