Fix file position desync when calling into libtiff by Knio · Pull Request #8560 · python-pillow/Pillow
Conversation
Fixes #8559
Changes proposed in this pull request:
- Save and restore file handle position when passing file handle to libtiff
Knio and others added 2 commits
November 19, 2024 21:49
Knio
mentioned this pull request
| [ | ||
| "Tests/images/old-style-jpeg-compression-no-samplesperpixel.tif", | ||
| "Tests/images/old-style-jpeg-compression.tif", | ||
| ], |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there anything different between these two files that means that one might conceivably fail where the other wouldn't? Or are you just testing two to be thorough?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, these were just the files that reproduced the issue
Knio and others added 2 commits
November 20, 2024 05:21This 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