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

Added reading of TIFF child images #6569

Merged
merged 2 commits into from Sep 27, 2022

Conversation

radarhere
Copy link
Member

Helps #6482 by adding reading of TIFF child images - a series of offsets to child IFDs.

There are two test files here.

@radarhere radarhere added the TIFF label Sep 10, 2022
Comment on lines +1157 to +1159
for im_offset in self.tag_v2[SUBIFD]:
# reset buffered io handle in case fp
# was passed to libtiff, invalidating the buffer
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied from

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

@hugovk hugovk merged commit aa8877a into python-pillow:main Sep 27, 2022
@radarhere radarhere deleted the tiff_child_images branch September 27, 2022 21:12
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.

None yet

2 participants