-
Notifications
You must be signed in to change notification settings - Fork 618
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
WASM support: JPEG import panics because rayon is not supported yet #879
Comments
Not sure if this is the same issue that you're having, but I was encountering a similar issue with using |
@jashephe cool, thanks for the hint. But I cannot override this in my own |
@acidicX the image = { version = "0.21.0", default-features = false, features = ["jpeg"] } |
This seems to be resolved to the author's expectations, judging by the reaction. I'm going to close this. |
fixed following: image-rs/image#879 (comment)
I'm getting the following panic on a WebAssembly (WASM) binary when trying to load a JPG image from memory
image::load_from_memory
with rust v1.35:PNG and GIF works.
Would it be possible to include a switch in the
image::load_from_memory
API that disables rayon in the JPEG decoder? So we could work around this until rayon fully supports WASM as well.(related: #703)
The text was updated successfully, but these errors were encountered: