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

Disable strict mode on JPEG decoder #2180

Closed
djc opened this issue Mar 25, 2024 · 2 comments · Fixed by #2183
Closed

Disable strict mode on JPEG decoder #2180

djc opened this issue Mar 25, 2024 · 2 comments · Fixed by #2183

Comments

@djc
Copy link
Contributor

djc commented Mar 25, 2024

I would like to be able to decode JPEG images using HDR functionality to embed "multiple images" without errors.

My specific use case for this functionality is decoding images captured from Instagram for resizing.

This is more generally applicable to JPEG decoding. See etemesi254/zune-image#167.

Draft

The default JPEG decoder settings should not be strict (in this regard).

@fintelia
Copy link
Contributor

Could you make a PR? This wasn't an intentional choice when switching to zune-jpeg, there was just a lot of code movement leading up to 0.25 and it got overlooked. In general, we try to default to accepting images with errors within reason/when other decoders do.

@djc
Copy link
Contributor Author

djc commented Mar 25, 2024

Of course, thanks for the quick response! Will follow up soon.

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 a pull request may close this issue.

2 participants