Skip to content

fix: Support reading a single-tile image - #106

Merged
kylebarron merged 3 commits into
mainfrom
kyle/support-single-tile-image
Feb 26, 2026
Merged

kylebarron merged 3 commits into
mainfrom
kyle/support-single-tile-image

Conversation

@kylebarron

Copy link
Copy Markdown
Member

We don't support strip-oriented TIFFs, but some "COGs" are so small that they only have a single tile and don't encode tile_height and tile_width values in the IFD.

Change list

  • Check explicitly for strip offsets and byte lengths to error
  • Otherwise assume that tile height/width is the same as image height/width

@github-actions github-actions Bot added the fix label Feb 26, 2026
@kylebarron
kylebarron merged commit 37a8017 into main Feb 26, 2026
6 checks passed
@kylebarron
kylebarron deleted the kyle/support-single-tile-image branch February 26, 2026 22:27
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.

1 participant