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 9155/week @ 2024-01-05 7153/week @ 2024-01-12 8843/week @ 2024-01-19 5914/week @ 2024-01-26 6339/week @ 2024-02-02 7355/week @ 2024-02-09 7209/week @ 2024-02-16 6087/week @ 2024-02-23 4980/week @ 2024-03-01 6349/week @ 2024-03-08 7336/week @ 2024-03-15 6864/week @ 2024-03-22 5876/week @ 2024-03-29 6990/week @ 2024-04-05 7533/week @ 2024-04-12 6800/week @ 2024-04-19

28,530 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