I am trying to extract the color profile being used in TIF files. I'm using the command;
Identify "-format", "%r", File.tif
But I get the same result for different files. The result I get is "RGB" but in PhotoshopCS2 the color profile has been set as "sRGB IEC61966-21" for one file and "Adobe RGB(1998) for another.
Any sugestions?
RGB Color Profile
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
You mis-understood the %r escape. This returns the colorspace used by IM in storing the image. See '-type' and '-colorspace' options.
It does NOT return the color profile of the image, something IM only passes on or replaces but does not follow.
It does NOT return the color profile of the image, something IM only passes on or replaces but does not follow.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/