Make images smaller using best-in-class codecs, right in the browser.
JavaScript
WebP2 decoder
Dependencies
- Docker
Example
N/A
API
ImageData decode(uint8_t* image_buffer, int image_width, int image_height)
Decodes the given WebP2 buffer into raw RGBA represented as an ImageData.