FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Do not presume "xmp" info simply because "XML:com.adobe.xmp" info exists by radarhere · Pull Request #8173 · python-pillow/Pillow · GitHub

Do not presume "xmp" info simply because "XML:com.adobe.xmp" info exists - #8173

Merged
hugovk merged 1 commit into
python-pillow:mainfrom
radarhere:xmp_imageops
Jun 27, 2024
Merged

Do not presume "xmp" info simply because "XML:com.adobe.xmp" info exists#8173
hugovk merged 1 commit into
python-pillow:mainfrom
radarhere:xmp_imageops

Conversation

Copy link
Copy Markdown
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.

Copy link
Copy Markdown
Contributor

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

hugovk merged commit 6a2b8e7 into python-pillow:main Jun 27, 2024
radarhere deleted the xmp_imageops branch June 27, 2024 12:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL