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

#27 in Images

Download history 8072/week @ 2024-01-10 8533/week @ 2024-01-17 6942/week @ 2024-01-24 6037/week @ 2024-01-31 6189/week @ 2024-02-07 8335/week @ 2024-02-14 6026/week @ 2024-02-21 5469/week @ 2024-02-28 5533/week @ 2024-03-06 7233/week @ 2024-03-13 7170/week @ 2024-03-20 5813/week @ 2024-03-27 7271/week @ 2024-04-03 7156/week @ 2024-04-10 7988/week @ 2024-04-17 6561/week @ 2024-04-24

30,298 downloads per month
Used in 52 crates (25 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

~5–7.5MB
~80K SLoC