pub fn transcode_animated_webp(
input: &[u8],
options: AnimationTranscodeOptions,
) -> Result<TranscodedAnimation, TranscodeError>Expand description
Decodes, resizes, and re-encodes exactly one stored animated WebP sequence.
Frames are decoded and encoded in stored order. The operation holds one decoded frame and one reusable resize destination at a time; it does not buffer the whole animation. This convenience API always encodes output, including when the resize operation is a no-op. Callers decide whether a source should be passed through or whether an encoded result should replace it.