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

Optimize lossless decoding #25

Merged
merged 1 commit into from
Dec 24, 2023
Merged

Conversation

fintelia
Copy link
Contributor

This adds a fast path that detects solid color and other highly compressed images then skips redundant decoding operations. It is particularly important for fuzzing because a couple dozen byte input image can expand to a 1 GB output and so decoding pixel by pixel can cause timeouts

Related issue: #22

@fintelia fintelia merged commit a737d91 into image-rs:main Dec 24, 2023
9 checks passed
@fintelia fintelia deleted the optimize-lossless2 branch December 24, 2023 18:38
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.

1 participant