google / guetzli

Perceptual JPEG encoder
Apache License 2.0
12.9k stars 977 forks source link

Image Meta Data is lost after Guetzli compression #161

Open sunatthegilddotcom opened 7 years ago

sunatthegilddotcom commented 7 years ago

After Image is compressed, the metadata is lost, especially Origin, Camera and Advanced Photo are missed. Is there a flag I need to set to preserve the meta data either in building the code or compressing the images? I am using the latest code. Just build the app today.

Thank you very much!

mgrhm commented 7 years ago

A flag to preserve EXIF data is definitely one I'd like in a future release of guetzli. I didn't realise it stripped EXIF until now, but have verified that it does. The option to maintain EXIF would be a definite improvement.

sunatthegilddotcom commented 7 years ago

@mgrhm THANK YOU VERY MUCH for your help. Really appreciate it.

gtuk commented 7 years ago

175

gerfra commented 7 years ago

I think I could make an automatic procedure to restore your data EXIF, even recursively, see here https://www.patreon.com/guetzli

mgrhm commented 7 years ago

Thanks @gtuk for the patches you're submitting.