6
\$\begingroup\$

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.

\$\endgroup\$

1 Answer 1

4
\$\begingroup\$

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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