Skip to main content

Module webp_anim

Module webp_anim 

Source
Expand description

Animated WebP output.

Unlike GIF, animated WebP supports full 24-bit color with alpha per frame, so it does not need color quantization and exhibits no gradient banding.

Encoding is delegated to libwebp via the [webp-animation] crate (statically linked when the static feature is enabled, which is the default on native targets).

Structs§

WebpAnim
WebpOptions

Constants§

DEFAULT_WEBP_METHOD
Lossy method (0=fastest … 6=slowest-best). libwebp default is 4.
DEFAULT_WEBP_QUALITY
Quality (0..=100) used for lossy WebP encoding.