Tuesday, 26 February 2019

metadata - How can I strip tags from a JPEG without removing the color profile?


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).


Distorted and original image.


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.)





No comments:

Post a Comment

Why is the front element of a telephoto lens larger than a wide angle lens?

A wide angle lens has a wide angle of view, therefore it would make sense that the front of the lens would also be wide. A telephoto lens ha...