Skip to content

Fix loading IPTC images and update test#7667

Merged
radarhere merged 4 commits intopython-pillow:mainfrom
nulano:iptc
Jan 1, 2024
Merged

Fix loading IPTC images and update test#7667
radarhere merged 4 commits intopython-pillow:mainfrom
nulano:iptc

Conversation

@nulano
Copy link
Contributor

@nulano nulano commented Dec 31, 2023

Follow up to #7661, originally created as radarhere#22

I added a byte for the image data to also test the load method, but found that, at least on Windows, this fails due to the unusual use of a temporary file, so I replaced it with io.BytesIO.

I also realigned the test bytes to avoid breaking in the middle of a dataset.

nulano and others added 2 commits December 31, 2023 13:53
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
@radarhere radarhere merged commit 4f17b60 into python-pillow:main Jan 1, 2024
@nulano nulano deleted the iptc branch January 1, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants