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

#25 in Images

Download history 19605/week @ 2024-11-17 22629/week @ 2024-11-24 17267/week @ 2024-12-01 19969/week @ 2024-12-08 19412/week @ 2024-12-15 9333/week @ 2024-12-22 8886/week @ 2024-12-29 16372/week @ 2025-01-05 15903/week @ 2025-01-12 18000/week @ 2025-01-19 20454/week @ 2025-01-26 21006/week @ 2025-02-02 25679/week @ 2025-02-09 23841/week @ 2025-02-16 26805/week @ 2025-02-23 22605/week @ 2025-03-02

101,188 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