Hi,
I need to remove any ICC profile data from a set of images. (Yes I know what I am doing and why.)
I can't figure out how to do that "-icc_profile:all=" does not seem to work.
How can I remove all ICC profile data from an image?
Thanks a lot.
Quote from: c++ on March 06, 2012, 12:01:42 PM
"-icc_profile:all=" does not seem to work.
Why do you say it doesn't work? Does "
exiftool -icc_profile FILE" return anything after you do this?
- Phil
No, actually it turns out that:
exiftool -icc_profile -b -w icc FILE.tiff
does not return a file either.
If I open the tiff in Photoshop however PS reports an embedded profile.
Not a missing profile but a specific embedded one.
If you send me the file I'll take a look. My email is philharvey66 at gmail.com
- Phil
Thanks, I got the images.
I can assure you that there is no ICC_Profile in the image.
However, the ColorSpace tag is set to "sRGB", which defines the standard sRGB profile.
How do you display the profile in Photoshop, and what does it say it is?
- Phil
Thank you very much. I didn't think of that. PS did interpret the data to be sRGB.
It seems that if there is no actual profile embedded PS interprets the Colorspace property and treats the image as if there were an embedded profile.
So I need to remove the Colorspace property, too. Adding "-all:Colorspace=" to what I'm doing solves my problem.
I just stumbled over this old post, just in case it helps anybody...
Photoshop has a file handling preference to "ignore EXIF colour space" which if left unchecked, will treat any image with an EXIF Colourspace = 1 as sRGB (with a value of 0 being uncalibrated) or ExifIFD:ColorSpace='sRGB' in ExifTool as being tagged with the sRGB ICC profile. If this box is checked/on, the file will open up into Photoshop without an ICC profile being presented as embedded in the image.