Files
squoosh/codecs/avif/dec
2021-03-03 16:55:09 +00:00
..
2020-11-19 11:00:23 +00:00
2020-11-19 11:00:23 +00:00
2021-03-03 16:55:09 +00:00
2020-08-05 14:40:15 +01:00

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.