Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript
297 B
Raw Blame

WebP2 encoder

Dependencies

  • Docker

Example

N/A

API

UInt8Array encode(uint8_t* image_buffer, int image_width, int image_height, WP2::EncoderConfig config)

Encodes the given image with given dimension to WebP2.