-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
reading TIFF mono files fails #1300
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
heif-enc
with a single band file fails with an error like:The error is misleading though. Its really an invalid pixel image being passed as input. That happens because of this logic:
libheif/examples/decoder_tiff.cc
Lines 307 to 321 in 8cc6c79
(and equivalent call for the planar case).
Essentially we're creating a mono image, then adding an interleaved image plane, which doesn't make sense.
I'm currently working on a fix.
The text was updated successfully, but these errors were encountered: