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

Failure to decode image: blending_info.alpha_channel out of range #388

Closed
Quackdoc opened this issue Nov 11, 2024 · 1 comment · Fixed by #403
Closed

Failure to decode image: blending_info.alpha_channel out of range #388

Quackdoc opened this issue Nov 11, 2024 · 1 comment · Fixed by #403
Labels
bug Something isn't working

Comments

@Quackdoc
Copy link

Testing animation and splines image here https://jpegxl.info/old/art/ https://jpegxl.info/old/anim_jxl_logo.jxl

jxl-oxide fails to decode the image

jxl-oxide anim_jxl_logo.jxl -o anim_jxl_logo.jxl.png
2024-11-11T16:21:58.655214Z ERROR jxl_frame: blending_info.alpha_channel out of range blending_info=BlendingInfo { mode: Blend, alpha_channel: 0, clamp: false, source: 1 }
2024-11-11T16:21:58.660218Z ERROR jxl_oxide: failed reading JPEG XL image: frame error: bitstream error: bitstream validation failed: blending_info.alpha_channel out of range
@tirr-c tirr-c added the bug Something isn't working label Nov 12, 2024
@tirr-c
Copy link
Owner

tirr-c commented Nov 12, 2024

It doesn't have alpha but specifies alpha blending... I don't think the spec is clear about what to do in this case. libjxl does as if alpha channel is all ones (just copies pixels).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants