We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Some EXR files might contain NaNs, e.g., AllHalfValues.exr. Calling to_rgba8 on such images causes a panic:
to_rgba8
thread 'main' panicked at image-0.25.1\src\color.rs:435:30: called `Option::unwrap()` on a `None` value
The text was updated successfully, but these errors were encountered:
Shorter repro:
let img = Rgba32FImage::from_raw(1, 1, vec![1.0 / 0.]).expect("create nan image"); DynamicImage::ImageRgba32F(img).to_rgba8();
Sorry, something went wrong.
No branches or pull requests
Some EXR files might contain NaNs, e.g., AllHalfValues.exr. Calling
to_rgba8
on such images causes a panic:The text was updated successfully, but these errors were encountered: