Crate webp_animation[−][src]
Overview
This crate provides a high-level Rust wrapper for decoding and encoding WebP animations. Underlying WebP format processing is handled by C-based libwebp library by Google, which is interfaced through Rust libwebp-sys2 crate
Usage
Have a look at Decoder
and Encoder
for use-case specific examples.
Modules
prelude |
Structs
Decoder | A decoder for webp animation data |
DecoderIterator | An iterator that produces decoded |
DecoderOptions | An options struct for |
Encoder | An encoder for creating webp animation |
EncoderOptions | An options struct for |
EncodingConfig | Encoding configuration. Can be set for |
Frame | An animation frame containing data and metadata produced by |
LossyEncodingConfig | Parameters related to lossy compression only |
WebPData | A safe wrapper for WebP bytedata. Consider as |
Enums
ColorMode | Color Mode that configures the output type of |
EncodingType | Encoding type |
Error | Error type produced by |