-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
TIFF: Support SAMPLEFORMAT_COMPLEXINT (5) #884
Comments
Hi @vprivat-ads, Happy new year! 🎉 I agree that it would be great to add support for these sample formats, and I will for sure accept a PR adding handling for such formats. However, the TIFF spec does not define these sample formats, and according to the AwareSystems page you linked, they seem to be added by LibTIFF. I cannot find the specifications for these complex types anywhere. Of course, it might me possible to figure it out looking at the LibTIFF source code, but I would prefer a specification. |
Looking at the LibTiff source, I cannot find much special handling of the "complex" types... Maybe we can just treat them as normal integer or floating point? I'm not familiar with the data, so I don't know how it's interpreted or how you process them, you probably have a better understanding of this. 😀 |
Hi @haraldk! I have no idea either and will look further into it. If I can submit a PR I will let you know very soon. |
Is your feature request related to a use case or a problem you are working on? Please describe.
I cannot open some TIFF files from Capella Space Open Data, and face this error:
Describe the solution you'd like
According to the TIFF spec, there are 6 SampleFormat values (1 to 6), but only 4 are currently supported (1 to 4).
It would be great to support the two missing values, or at least the first one:
Describe alternatives you've considered
N/A
Additional context
The text was updated successfully, but these errors were encountered: