Structsยง
- WebP Image format decoder. Currently only supports lossy RGB images or lossless RGBA images.
- Wrapper struct around a
Cursor<Vec<u8>>
Enumsยง
- Decoder
Error ๐All errors that can occur when attempting to parse a WEBP container - WebP
Image ๐ - WebP
Riff ๐Chunk 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 isErr
if and only if the chunk header FourCC is present but unknown - read_
len_ ๐cursor