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

Request For Comments: Image decoding #128

Open
s3bk opened this issue Feb 20, 2022 · 0 comments
Open

Request For Comments: Image decoding #128

s3bk opened this issue Feb 20, 2022 · 0 comments

Comments

@s3bk
Copy link
Contributor

s3bk commented Feb 20, 2022

Right now Image decoding is part of this crate behind various feature gates.

  • Not everyone actually wants to decode images.
  • There are two C libraries used to decode Jpeg2000 and JBIG2, and both have a list of security issues.

I want to remove those libraries.
One option would be to have two statics that are used to register callbacks to decode the respective data, making the user responsible to deal with this, possibly by sandboxing the C libraries.

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

No branches or pull requests

1 participant