-
Notifications
You must be signed in to change notification settings - Fork 13
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
Files with inconsistent image slice sizes break loading #139
Comments
I've come across GeoTIFFs with ragged data, so this is a must for 1.0 IMHO |
Agreed, this would be nice to have in 1.0. AFAIK the TIFF spec doesn't record raggedness anywhere. There's some information in I think the best strategy is to assume consistent slice sizes and fail gracefully if we detect ragged images and build a |
Thoughts on how to handle |
EDIT: Discussion over in #154 |
Currently TIFF images with embedded reduced resolution images cause problems since
TiffImages
assumes the images aren't ragged.Take DAPI Myog Pax7_CH1.zip for example, which fails to load:
However, loading the image planes separately works:
(720, 960)
and
(120, 160).
It appears as though we are handling everything just fine, it's just that we should detect when images are "ragged", i.e. don't have the same XY sizes and load those images as the currently unimplemented
StridedTaggedImage
The text was updated successfully, but these errors were encountered: