Skip to content

Conversation

@radarhere
Copy link
Member

# reset buffered io handle in case fp
# was passed to libtiff, invalidating the buffer
self.fp.tell()

This code is currently not run when seeking backwards. Moving it so that it is, I find that it fixes #5440

@hugovk hugovk merged commit 23f848e into python-pillow:master May 9, 2021
@radarhere radarhere deleted the fp branch May 9, 2021 21:45
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.

Unable to read tiff while moving between pages

2 participants