-
Notifications
You must be signed in to change notification settings - Fork 53
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
DynamicImage::Bgra8 removed from upstream image crate in 0.24.x #9
Comments
Pushed version lock as part of 0.5.3 release. |
Updated Cargo.toml to use |
Reversing the byte order conveniently fixes the problem of colors being reversed in WASM compared to native, which required two separate implementations of |
The upstream
image
crate removed enum variants relating to BGR8 from the DynamicImage enum. Upstream issue:image-rs/image#1671
It might be possible to tell Pdfium to render using a different pixel format, or just perform some conversion ourselves. In the meantime, locked image version to ^0.23 in Cargo.toml.
The text was updated successfully, but these errors were encountered: