We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
heif-enc with a single band file fails with an error like:
heif-enc
Could not encode HEIF/AVIF file: Encoder plugin generated an error: Unsupported bit depth: Bit depth not supported by x265
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:
This is resolved via the way #1301 got pulled in.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
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: