Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loading IPTC images and update test #22

Closed
wants to merge 2 commits into from
Closed

Conversation

nulano
Copy link

@nulano nulano commented Dec 31, 2023

Suggestion for python-pillow#7661

I added a byte 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.

Tests/test_file_iptc.py Outdated Show resolved Hide resolved
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
@nulano
Copy link
Author

nulano commented Dec 31, 2023

Moved to python-pillow#7667

@nulano nulano closed this Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants