Files
squoosh/codecs/avif/dec
André R cd336909fc Update libavif (v0.12-main) and AOM (3.6) for improved compression and speed (#1334)
* Update libavif and AOM (3.6) for improved compression and speed

* Minor fixes to package-lock done by NPM, also trigger new build

* Update AVIF version

---------

Co-authored-by: Jake Archibald <jaffathecake@gmail.com>
2023-03-10 10:24:15 +00:00
..
2020-11-19 11:00:23 +00:00
2020-11-19 11:00:23 +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.