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

Only read until the offset of the next tile #8609

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

radarhere
Copy link
Member

Resolves #8607

At the moment, ImageFile reads from files in MAXBLOCK chunks (unless pulls_fd is in use). There is no problem with this if there is only one tile. If there are multiple tiles however, that may be smaller than MAXBLOCK, then the size of the read operation can be reduced - by stopping the read operation before the next tile starts.

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

Successfully merging this pull request may close these issues.

Performance when reading TIFF file with small tiles
1 participant