You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to reproduce reliably on any animated gif converted by imagemagick. The animated webps open in other programs or when using the webp-animation crate which wraps libwebp. This is at git head for image-webp where I added a test that just tries to decode every frame of dog.webp.
convert dog.gif dog.webp
cargo test
---- test_broken stdout ----
Read frame 1
thread 'test_broken' panicked at tests/decode.rs:170:43:
called `Result::unwrap()` on an `Err` value: IoError(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
In my application I just used image's into_frames() method, but for the test run I put this at the end of tests/decode.rs based copying and pasting on the existing tests.
This seems to reproduce reliably on any animated gif converted by imagemagick. The animated webps open in other programs or when using the webp-animation crate which wraps libwebp. This is at git head for image-webp where I added a test that just tries to decode every frame of dog.webp.
The text was updated successfully, but these errors were encountered: