Skip to content
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

Loading of indica tiff files #4189

Open
rharkes opened this issue May 14, 2024 · 2 comments
Open

Loading of indica tiff files #4189

rharkes opened this issue May 14, 2024 · 2 comments

Comments

@rharkes
Copy link
Contributor

rharkes commented May 14, 2024

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)

@dgault
Copy link
Member

dgault commented May 15, 2024

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/

@cgohlke
Copy link

cgohlke commented May 15, 2024

A sample file was posted at forum.image.sc. See also the comments regarding the file format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants