-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
Description
In version 9.3.0 Pillow allows to save EXIF for WEBP format without firsts 6 bytes b'Exif\x00\x00'
python-pillow/Pillow#6582
This code
pillow_heif/pillow_heif/private.py
Line 162 in 0430fcb
| if not _result and md_block["data"] and md_block["data"][0:4] == b"Exif": |
And this throws and exception during parsing EXIF:
pillow_heif/pillow_heif/misc.py
Line 37 in 0430fcb
| tif_tag = info["exif"][6:] |