I would like to remove as much metadata as possible from an image without changing its appearance.

I have used exiftool -all= image.jpg and it works well most of the time, but quite often the colors come out different.

So instead I used exiftool -all= image.jpg -tagsFromFile @ -TAGNAME to avoid removing certain tags like "ColorSpace". Is there a list somewhere of tags that affect appearance in any way? If there isn't, any tips on how I could compile such as list? Any tags that affect appearance would be appreciated.


Without color space information, images should be rendered using the sRGB profile. To preserve the color space information, you should preserve the ColorSpace, InteropIndex and ICC_Profile tags.

| improve this answer | |
  • Preserving these three tags works on all the examples I have gathered. By the way, thank you for ExifTool, it's a lifesaver. – Tewr Feb 7 '14 at 9:18
  • Thank you: exiftool -all= image.jpg -tagsfromfile @ -colorspace -interopindex -icc_profile seems to work. – Jens Nov 2 '14 at 13:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.