jpegtran didn’t do “copy none”.

It’s the only time I have come across this.
A jpg file with metadata that didn’t clear with jpegtran.

I use it like this…

~ $ jpegtran -V
mozjpeg version 4.0.4 (build 20210706)

~ $ jpegtran -copy none -outfile new_filename.jpg filename.jpg

I have put the results in the attached results.txt file because they are verbose,
It didn’t get rid of the icc profile, looks like the only difference is timestamps.
But I could delete it using Exiftool.


It’s not such a big deal.

Exiftool shows all the metadata…
exiftool -a -u -g1 filename.jpg

Delete icc profile…
exiftool -ICC_Profile= filename.jpg

Delete all metadata…
exiftool -all= filename.jpg

Read more here: Source link