Skip to content

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.

2 participants