Skip to content

Pillow 9.3.0 webp EXIF changes leads to crash #44

@bigcat88

Description

@bigcat88

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

if not _result and md_block["data"] and md_block["data"][0:4] == b"Exif":
cannot read them.
And this throws and exception during parsing EXIF:
tif_tag = info["exif"][6:]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedFixed in last version

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions