Skip to content

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

JavaScript
285 B
Raw Blame

AVIF decoder

Example

See example.html

API

RawImage decode(std::string buffer)

Decodes the given avif buffer into raw RGBA. RawImage is a class with 3 fields: buffer, width, and height.