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 6714/week @ 2024-04-01 7323/week @ 2024-04-08 7908/week @ 2024-04-15 7610/week @ 2024-04-22 7305/week @ 2024-04-29 8915/week @ 2024-05-06 8502/week @ 2024-05-13 5973/week @ 2024-05-20 7048/week @ 2024-05-27 4767/week @ 2024-06-03 6733/week @ 2024-06-10 7451/week @ 2024-06-17 6850/week @ 2024-06-24 5303/week @ 2024-07-01 7197/week @ 2024-07-08 5306/week @ 2024-07-15

25,336 downloads per month
Used in 55 crates (26 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.5MB
~80K SLoC