Getting the color profile name using identify -format
Posted: 2011-01-25T07:12:57-07:00
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
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