13 releases

0.2.7 Apr 2, 2024
0.2.6 Sep 20, 2023
0.2.5 Aug 2, 2023
0.2.4 Jul 11, 2023
0.0.0 Aug 29, 2019

#29 in Images

Download history 2437/week @ 2023-12-23 6007/week @ 2023-12-30 9144/week @ 2024-01-06 7043/week @ 2024-01-13 8828/week @ 2024-01-20 5759/week @ 2024-01-27 6345/week @ 2024-02-03 7393/week @ 2024-02-10 6902/week @ 2024-02-17 6085/week @ 2024-02-24 5043/week @ 2024-03-02 6353/week @ 2024-03-09 7375/week @ 2024-03-16 6613/week @ 2024-03-23 6751/week @ 2024-03-30 5521/week @ 2024-04-06

27,031 downloads per month
Used in 53 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