Page 1 of 1

Getting ICC profile using "identify -format"

Posted: 2013-11-01T08:19:46-07:00
by papagi11
Hi
I am trying to use below command to get ICC profile embedded in that image, but the command is not returning the profile.

identify -format "%[profile:icc]" TajMahal_9_cmyk_Out.jpg

However, this file has an ICC profile and I am able to see that if I use "identify -verbose TajMahal_9_cmyk_Out.jpg".

ImageMagixk version is "ImageMagick 6.7.6-1".

Can you please help out?

Thanks,
Papaji

Re: Getting ICC profile using "identify -format"

Posted: 2013-11-01T09:25:05-07:00
by snibgo
This is the wrong forum; "Users" would be better.

%[profile:icc] is a very recent feature. Your version is old. To use this feature, you need to upgrade.

Re: Getting ICC profile using "identify -format"

Posted: 2013-11-01T09:50:17-07:00
by papagi11
Thanks,
I will try with latest version.

Re: Getting ICC profile using "identify -format"

Posted: 2013-11-01T17:53:47-07:00
by glennrp
You should be able to extract the profile with

Code: Select all

convert TajMahal_9_cmyk_Out.jpg TajMahal_9_cmyk.icm