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

DESI tif cannot be open #253

Open
satarsa opened this issue Nov 13, 2024 · 1 comment
Open

DESI tif cannot be open #253

satarsa opened this issue Nov 13, 2024 · 1 comment

Comments

@satarsa
Copy link

satarsa commented Nov 13, 2024

Hello
I am trying to open a tif create at the DESI synchroton using this lib, but it complains about an unknown photometric interpretation, though libtiff opens those files fine.
An example tif can be downloaded from here: https://git.3lp.cx/packages/LaB6_660c_0p8cap_SDD500_0abs_15s-00758.tif.tar.bz2
Thank you!

@fintelia
Copy link
Contributor

I believe that error should only happen if you call Decoder::colortype and you should still be able to call the other methods on the decoder?

The problem is that the colortype method can only describe some sorts of photometric interpretations and returns errors for the rest. Admittedly this isn't the most helpful design...

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

No branches or pull requests

2 participants