8 releases

0.2.2 Mar 14, 2022
0.2.1 Feb 1, 2022
0.2.0 Sep 8, 2021
0.1.3 May 11, 2021
0.0.0 Aug 29, 2019

#196 in Images

Download history 1639/week @ 2023-02-13 2739/week @ 2023-02-20 3837/week @ 2023-02-27 3476/week @ 2023-03-06 3620/week @ 2023-03-13 3119/week @ 2023-03-20 3888/week @ 2023-03-27 5223/week @ 2023-04-03 3997/week @ 2023-04-10 4843/week @ 2023-04-17 5141/week @ 2023-04-24 4698/week @ 2023-05-01 5034/week @ 2023-05-08 5808/week @ 2023-05-15 4551/week @ 2023-05-22 4200/week @ 2023-05-29

19,947 downloads per month
Used in 785 crates (16 directly)

MIT/Apache

2MB
371 lines

Build Status Build status Crate API Crates.io

webp

A WebP conversion library. WIP;

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
~79K SLoC