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

jxl-modular: Handle zero-sized residual group produced by Squeeze #258

Merged
merged 6 commits into from
Feb 27, 2024

Conversation

tirr-c
Copy link
Owner

@tirr-c tirr-c commented Feb 26, 2024

Group size of Squeeze residual channels may be zero, as dimensions of those channels do not round up.

Fixes #256

@tirr-c tirr-c self-assigned this Feb 26, 2024
@tirr-c tirr-c merged commit 5ad88aa into main Feb 27, 2024
9 checks passed
@tirr-c tirr-c deleted the zero-sized-squeeze-group branch February 27, 2024 09:20
tirr-c added a commit that referenced this pull request Feb 28, 2024
* jxl-modular: Handle zero-sized residual group produced by Squeeze

* jxl-modular: Make it simpler

* jxl-frame: Skip empty Modular subimages

* jxl-oxide (test): Add decode test `squeeze_edge`

* Add an entry to CHANGELOG.md
tirr-c added a commit that referenced this pull request Feb 28, 2024
* jxl-modular: Handle zero-sized residual group produced by Squeeze

* jxl-modular: Make it simpler

* jxl-frame: Skip empty Modular subimages

* jxl-oxide (test): Add decode test `squeeze_edge`

* Add an entry to CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

explicit panic in jxl-modular/src/image.rs:283:17
1 participant