You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment bioformats doesn't load indica tiff files.
The python tifffile library can do it since version 2023.12.9.
The problem with the files is that they have 32 bit per pixel, but didn't set the TIFFTAG_SAMPLEFORMAT, so it defaults to UINT. However, it has to be SAMPLEFORMAT_IEEEFP.
Thanks @rharkes for reporting the issue. Are there any sample Indica Tiff files that could be used for testing? If you have some suitable samples and need an upload location then we recommend using https://zenodo.org/
At the moment bioformats doesn't load indica tiff files.
The python tifffile library can do it since version 2023.12.9.
The problem with the files is that they have 32 bit per pixel, but didn't set the TIFFTAG_SAMPLEFORMAT, so it defaults to UINT. However, it has to be SAMPLEFORMAT_IEEEFP.
See also:
https://github.com/cgohlke/tifffile/blob/master/tifffile/tifffile.py#L8369 (the sampleformat is changed here)
https://github.com/cgohlke/tifffile/blob/master/tifffile/tifffile.py#L10459 (this is how it is checked)
The text was updated successfully, but these errors were encountered: