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
# ./target/debug/examples/opening ~/Downloads/IMG-2677.webp
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: FormatError("Invalid VP8 signature.")', src/libcore/result.rs:999:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
I think this image was generated by Google Photos on 2017-12-29. It renders fine in Chromium.
The text was updated successfully, but these errors were encountered:
That's because the image does not contain vp8 data but vp8x data. webp is a container format, containing blocks which may be image data (more information by Google). The underlying image data encoding is vp8. The error could be clearer on this and be UnsupportedError instead, and also print the type of chunk that is not supported but this is not a bug.
We're currently missing a dedicated maintainer for webp/riff/vp8(needs completion)/(vp9 needs to be done at some point). So I wouldn't expect this is in the near future. Should someone be willing to take this on, the step to externalize the functionality into a separate crate should probably be done as well.
Trying to load this image: https://ludios.org/tmp/IMG-2677.webp
shows
I think this image was generated by Google Photos on 2017-12-29. It renders fine in Chromium.
The text was updated successfully, but these errors were encountered: