-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destroys EXIF data despite --keep-exif #40
Comments
Did some debugging, here's what happening:
It seems that |
Hi! Thanks for reporting this issue. It seems to be happening on piexif's side, but it needs to be investigated. Does it happen always, regardless of the image file being processed? Can you please provide the output of |
Looks like here:
you're giving Always the same. I'm using latest revision from this repo. |
I understand. Thanks for the details. It should not be very complicated to fix, but I can't promise a date. |
You actually don't need piexif, Pillow can handle this: Load all EXIF data:
Save it:
|
|
Describe the bug
Destroys EXIF data despite
--keep-exif
To Reproduce
Optimized image will have it's EXIF data wiped.
Expected behavior
Image gets optimized, EXIF data intact.
The text was updated successfully, but these errors were encountered: