Skip to content

Conversation

@radarhere
Copy link
Member

#8069 changed ImageOps.exif_transpose() so that when updating a PNG image's im.info["XML:com.adobe.xmp"], it would update the newly added im.info["xmp"] as well.

However, #8171 (comment) has pointed out that our code shouldn't presume that the user didn't manually set im.info["XML:com.adobe.xmp"] themselves, in which case im.info["xmp"] might be absent.

@bigcat88
Copy link
Contributor

Thank you, with the past and this pull request together - everything will be fine :)

@hugovk hugovk merged commit 6a2b8e7 into python-pillow:main Jun 27, 2024
@radarhere radarhere deleted the xmp_imageops branch June 27, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants