Structsยง
- WebP Image format decoder. Currently only supports lossy RGB images or lossless RGBA images.
- Wrapper struct around a
Cursor<Vec<u8>>
Enumsยง
- DecoderError ๐All errors that can occur when attempting to parse a WEBP container
- WebPImage ๐
- WebPRiffChunk ๐All possible RIFF chunks in a WebP image file
Functionsยง
- read_chunk ๐Reads a chunk Returns an error if the chunk header is not a valid webp header or some other reading error Returns None if and only if we hit end of file reading the four character code of the chunk
- read_fourcc ๐Reads a chunk header FourCC Returns None if and only if we hit end of file reading the four character code of the chunk The inner error is
Err
if and only if the chunk header FourCC is present but unknown - read_len_cursor ๐