Expand description
Decoding and Encoding of WebP Images
Modulesยง
- alpha_
blending ๐ - Optimized alpha blending routines based on libwebp
- decoder ๐
- encoder ๐
- Encoding of WebP images.
- extended ๐
- huffman ๐
- Rudimentary utility for reading Canonical Huffman Codes. Based off https://github.com/webmproject/libwebp/blob/7f8472a610b61ec780ef0a8873cd954ac512a505/src/utils/huffman.c
- loop_
filter ๐ - Does loop filtering on webp lossy images
- lossless ๐
- Decoding of lossless WebP images
- lossless_
transform ๐ - transform ๐
- vp8
- An implementation of the VP8 Video Codec
- vp8_
arithmetic_ ๐decoder - yuv ๐
- Utilities for doing the YUV -> RGB conversion The images are encoded in the YโCbCr format as detailed here: https://en.wikipedia.org/wiki/YCbCr so need to be converted to RGB to be displayed To do the YUV -> RGB conversion we need to first decide how to map the yuv values to the pixels The y buffer is the same size as the pixel buffer so that maps 1-1 but the u and v buffers are half the size of the pixel buffer so we need to scale it up The simple way to upscale is just to take each u/v value and associate it with the 4 pixels around it e.g. for a 4x4 image:
Structsยง
- Encoder
Params - Allows fine-tuning some encoder parameters.
- WebP
Decode Options - WebP decoder configuration options
- WebP
Decoder - WebP image format decoder.
- WebP
Encoder - WebP Encoder.
Enumsยง
- Color
Type - Color type of the image.
- Decoding
Error - Errors that can occur when attempting to decode a WebP image
- Encoding
Error - Error that can occur during encoding.
- Loop
Count - Number of times that an animation loops.
- Upsampling
Method - Methods for upsampling the chroma values in lossy decoding