Closed toloudis closed 2 years ago
@colobas was having trouble loading some TIFFs because they were using pixel formats that had not been implemented in this loader yet.
Here's the code to try to handle any of a variety of pixel formats. ( Fixes #55 ). This is not well tested yet.
Current restrictions: No pixel formats > 32bit are implemented. No RGB pixel formats are implemented; the code expects one sample per pixel.
Note that at load time, pixel data is re-fitted to an internal storage format of 8bit unsigned int. This is intentional for fast interactive display.
One small edit was made to the Zarr loader to fix the selection of min and max values.
@colobas was having trouble loading some TIFFs because they were using pixel formats that had not been implemented in this loader yet.
Here's the code to try to handle any of a variety of pixel formats. ( Fixes #55 ). This is not well tested yet.
Current restrictions: No pixel formats > 32bit are implemented. No RGB pixel formats are implemented; the code expects one sample per pixel.
Note that at load time, pixel data is re-fitted to an internal storage format of 8bit unsigned int. This is intentional for fast interactive display.
One small edit was made to the Zarr loader to fix the selection of min and max values.