:sparkles: Support reading multi-band GeoTIFF files
Count the number of bands or channels in the GeoTIFF file when decoding by looking at the ColorType. E.g. Gray = 1 band, Multiband = N bands. Added a unit test to read a 2-band float32 GeoTIFF file.
867da21
8 months ago
by weiji14
0%
:white_check_mark: Pytest check reading multi-band remote GeoTIFF
Ensure that reading a multi-band GeoTIFF file from a remote URL works.
124c2bf
8 months ago
by weiji14
0%
:memo: Update note on multi-band support in main README.md
Also clarify that the roadmap item on reading single-band GeoTIFFs is for different dtypes.
d3caf4a
7 months ago
by weiji14
+6%
:pushpin: Pin to image-tiff 0c54a18
The Multi-band PR at https://github.com/image-rs/image-tiff/pull/224 has been merged, so updating to use the main branch instead.
6cb65cd
7 months ago
by weiji14
0%
:goal_net: Return TiffUnsupportedError instead of unimplemented panic
Replace `unimplemented!` with a recoverable TiffError::UnsupportedError instead to allow for better exception handling. Moved the band counting logic in the ndarray method above the image dimension line, and added a unit test to ensure unsupported ColorType TIFFs are handled properly.