Skip to content

Do not close provided file handles with libtiff when saving#8458

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:dup
Oct 11, 2024
Merged

Do not close provided file handles with libtiff when saving#8458
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:dup

Conversation

@radarhere
Copy link
Copy Markdown
Member

@radarhere radarhere commented Oct 11, 2024

Addresses #7042 (comment)

#7199 made a change to C code so that libtiff did not always close the file handle when decoding an image, removing the need for the file handle to be duplicated in Python.

This makes the same change, but for encoding an image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants