Skip to content

Conversation

@radarhere
Copy link
Member

#4605 added a check for roundtripping the XMLPacket tag through libtiff. It allowed the tag to be missing however.

if 700 in reloaded.tag_v2:
assert reloaded.tag_v2[700] == b"xmlpacket tag"

This PR improves the check, by requiring that the tag be present.

@hugovk hugovk merged commit 9e73e6e into python-pillow:main Sep 4, 2025
55 of 56 checks passed
@radarhere radarhere deleted the xmlpacket branch September 4, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants