13 releases

0.3.0 Apr 18, 2024
0.2.6 Sep 20, 2023
0.2.4 Jul 11, 2023
0.2.2 Mar 14, 2022
0.0.0 Aug 29, 2019

#59 in Images

Download history 17833/week @ 2024-11-30 20035/week @ 2024-12-07 20264/week @ 2024-12-14 9839/week @ 2024-12-21 8902/week @ 2024-12-28 16079/week @ 2025-01-04 16186/week @ 2025-01-11 16654/week @ 2025-01-18 21385/week @ 2025-01-25 20272/week @ 2025-02-01 25064/week @ 2025-02-08 24037/week @ 2025-02-15 26479/week @ 2025-02-22 25471/week @ 2025-03-01 23272/week @ 2025-03-08 23853/week @ 2025-03-15

102,914 downloads per month
Used in 63 crates (30 directly)

MIT/Apache

2MB
837 lines

Build Status Crate API Crates.io

webp

A WebP conversion library

Documentation:

Usage

Add this to your Cargo.toml:

[dependencies]
webp = "0.2"

Examples

An example for converting an image between JPEG and WebP formats is provided in the examples directory. It can be run using

cargo run --release --example convert

License

webp is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT, and COPYRIGHT for details.

The photo lake.jpg included in the assets/ directory is licensed under CC0/"Public Domain Dedication".

Dependencies