Files
squoosh/codecs/avif/dec/README.md
2020-08-05 14:39:01 +01:00

352 B

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.

void free_result()

Frees the result created by decode().