Files
squoosh/codecs/avif_enc/README.md
2020-08-05 14:38:23 +01:00

348 B

AVIF encoder

Example

Run example.js

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.

void free_result()

Frees the result created by decode().