-
Notifications
You must be signed in to change notification settings - Fork 14
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
MethodError: no method matching interpretation(::Val{TiffImages.PHOTOMETRIC_MINISWHITE}), Float32 support #133
Comments
Line 161 in 4613107
|
I guess the actual problem here was
|
I had never implemented PHOTOMETRIC_MINISWHITE as the |
Presumably |
I think we might also need |
xref: https://discourse.julialang.org/t/problem-in-reading-tiff-floats-file/106610/4
The primary problem is that
interpretation(::Val{TiffImages.PHOTOMETRIC_MINISWHITE})
is not implemented.TIFFTAG_SAMPLEFORMAT
value 3 corresponds toSAMPLEFORMAT_IEEEFP
. That is IEEE floating point.https://gitlab.com/libtiff/libtiff/-/blob/master/libtiff/tiff.h#L335
If
TIFFTAG_BITSPERSAMPLE
is 32, then the image should be interpreted as consisting ofFloat32
samples.See the xref on Discourse for a TIF sample.
The text was updated successfully, but these errors were encountered: