mozilla / mozjpeg

Improved JPEG encoder.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jpegtran didn't do "copy none".

bat999 opened this issue · comments

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

results.txt
filename.zip

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