
12 May
2020
12 May
'20
4:32 p.m.
I wrote:
The same package includes the oiiotool command, which you can use to delete metadata as follows ...
Nah, forget it. It’s OK on a lossless format like PNG, but for JPEG, it decompresses it and recompresses it again, leading to lots of differences as reported by idiff. The exiv2 tool (from the package of the same name) can directly alter EXIF metadata in a file without decoding/reencoding pixels. The command exiv2 rm «file» will remove all EXIF metadata from «file». It can also display metadata with exiv2 pr «file» (If you don’t want to alter your original files, make sure to copy them first.)