-
Notifications
You must be signed in to change notification settings - Fork 18
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
EXIF data are not transferred correctly #93
Comments
It is not a bug, just correct returning of Exif from The only way currenly see to restore compatability for me looks like always append b I'll add test for this case you described and publish an update that restores compatibility and do not return the bug that was fixed previously in Thanks for pointing on this! image_new.save(path_output + filename + '.jpg', 'JPEG', exif=b'Exif\x00\x00' + exif) |
If with this release all is good, and in three days there will be no issues I'll mark Feel free to close issue after check that the problem is gone for you |
The release ist good. Thank you very much for the quick implementation. |
Describe the bug
With version pillow_heif==0.10.1, the code snip attached below worked perfectly. The EXIF data was read from a HEIC photo and added to a JPG.
With version pillow_heif==0.11.0, the EXIF data is no longer transferred correctly.
Please also compare the two file attachments.
Steps/Code to Reproduce
Expected Results
The expected result, reproduced with version 0.10.1:
3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)]
Windows-10-10.0.19045-SP0
0.10.1
{'libheif': '1.15.2', 'HEIF': 'x265 HEVC encoder (3.4+31-6722fce1f)', 'AVIF': 'AOMedia Project AV1 Encoder v3.6.0'}
Actual Results
Versions
The text was updated successfully, but these errors were encountered: