For a while now I have used exiftool to strip away unnecessary metadata from jpg files (and to add copyright information) before uploading them:
exiftool -all= image.jpg
However, today I noticed that this can damage the image when my editing software embeds additional color information into the metadata (see for example this article).
Left is the damaged image, and to the right the original right out of the raw developer.
My question now is, which metatags are safe to strip and which are essential to keep? For example, based on the image ICC tags (i.e.
-icc_profile:all) shouldn't be stripped if they exist? (Possible duplicate of this question.)