Skip to main content

Module decoder

Module decoder 

Source
Expand description

Lower-level WebP parsing and decoding APIs.

Re-exports§

pub use alpha::apply_alpha_plane;
pub use alpha::decode_alpha_plane;
pub use alpha::AlphaHeader;
pub use animation::decode_animation_webp;
pub use animation::DecodedAnimation;
pub use animation::DecodedAnimationFrame;
pub use header::get_features;
pub use header::parse_animation_webp;
pub use header::parse_still_webp;
pub use header::AnimationHeader;
pub use header::ChunkHeader;
pub use header::ParsedAnimationFrame;
pub use header::ParsedAnimationWebp;
pub use header::ParsedWebp;
pub use header::Vp8xHeader;
pub use header::WebpFeatures;
pub use lossless::decode_lossless_vp8l_to_rgba;
pub use lossless::decode_lossless_webp_to_rgba;
pub use lossy::decode_lossy_vp8_to_rgba;
pub use lossy::decode_lossy_vp8_to_yuv;
pub use lossy::decode_lossy_webp_to_rgba;
pub use lossy::decode_lossy_webp_to_yuv;
pub use lossy::DecodedImage;
pub use lossy::DecodedYuvImage;
pub use vp8::parse_lossy_headers;
pub use vp8::parse_macroblock_data;
pub use vp8::parse_macroblock_headers;
pub use vp8::LosslessInfo;
pub use vp8::LossyHeader;
pub use vp8::MacroBlockData;
pub use vp8::MacroBlockDataFrame;
pub use vp8::MacroBlockHeaders;
pub use vp8i::WebpFormat;

Modules§

alpha
Alpha-plane parsing and reconstruction helpers.
animation
Animated WebP decode and compositing helpers.
header
WebP RIFF container and chunk parsing helpers.
lossless
Lossless VP8L decode helpers.
lossy
Lossy VP8 decode helpers.
quant
tree
vp8
vp8i

Enums§

DecoderError
Error type used by decoding and parsing entry points.