Expand description
Pure Rust WebP encoder helpers.
Current scope is still-image WebP encode.
The lossless path targets VP8L with transforms, adaptive Huffman
coding, simple backward references, and an optional color cache.
The lossy path targets opaque still images and emits a minimal
intra-only VP8 bitstream.
Structs§
- Lossless
Encoding Options - Lossless encoder tuning knobs.
- Lossy
Encoding Options - Lossy encoder tuning knobs.
Enums§
- Encoder
Error - Error type used by encoding entry points.
Functions§
- encode_
lossless_ image_ to_ webp - Encodes an
ImageBufferto a still lossless WebP container. - encode_
lossless_ image_ to_ webp_ with_ options - Encodes an
ImageBufferto a still lossless WebP container with explicit options. - encode_
lossless_ image_ to_ webp_ with_ options_ and_ exif - Encodes an
ImageBufferto a still lossless WebP container with explicit options and EXIF. - encode_
lossless_ rgba_ to_ vp8l - Encodes RGBA pixels to a raw lossless
VP8Lframe payload. - encode_
lossless_ rgba_ to_ vp8l_ with_ options - Encodes RGBA pixels to a raw lossless
VP8Lframe payload with explicit options. - encode_
lossless_ rgba_ to_ webp - Encodes RGBA pixels to a still lossless WebP container.
- encode_
lossless_ rgba_ to_ webp_ with_ options - Encodes RGBA pixels to a still lossless WebP container with explicit options.
- encode_
lossless_ rgba_ to_ webp_ with_ options_ and_ exif - Encodes RGBA pixels to a still lossless WebP container with explicit options and EXIF.
- encode_
lossy_ image_ to_ webp - Encodes an
ImageBufferto a still lossy WebP container. - encode_
lossy_ image_ to_ webp_ with_ options - Encodes an
ImageBufferto a still lossy WebP container with explicit options. - encode_
lossy_ image_ to_ webp_ with_ options_ and_ exif - Encodes an
ImageBufferto a still lossy WebP container with explicit options and EXIF. - encode_
lossy_ rgba_ to_ vp8 - Encodes RGBA pixels to a raw lossy
VP8frame payload. - encode_
lossy_ rgba_ to_ vp8_ with_ options - Encodes RGBA pixels to a raw lossy
VP8frame payload with explicit options. - encode_
lossy_ rgba_ to_ webp - Encodes RGBA pixels to a still lossy WebP container.
- encode_
lossy_ rgba_ to_ webp_ with_ options - Encodes RGBA pixels to a still lossy WebP container with explicit options.
- encode_
lossy_ rgba_ to_ webp_ with_ options_ and_ exif - Encodes RGBA pixels to a still lossy WebP container with explicit options and EXIF.