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

#34 in Images

Download history 22434/week @ 2025-01-28 22291/week @ 2025-02-04 25908/week @ 2025-02-11 21313/week @ 2025-02-18 28010/week @ 2025-02-25 26025/week @ 2025-03-04 24696/week @ 2025-03-11 25977/week @ 2025-03-18 30948/week @ 2025-03-25 29058/week @ 2025-04-01 29691/week @ 2025-04-08 22781/week @ 2025-04-15 31564/week @ 2025-04-22 27522/week @ 2025-04-29 33256/week @ 2025-05-06 24720/week @ 2025-05-13

121,489 downloads per month
Used in 60 crates (33 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