pub fn decode(data: &[u8]) -> Result<Raster, DecodeError>
Decodes the first frame of a WebP file as Pillow does.
When the data is not a WebP file, is truncated or malformed, or holds an image larger than Pillow accepts.