Files
squoosh/codecs/avif/dec
robo-mop 47f874677e Update libavif (v1.0.0-main)
* Update libavif for improved compression and speed
* v1.0.0 deprecates usage of min and max-quantizers; we use `quality` and `qualityAlpha` instead
* Renamed `maxSpeed` to `MAX_EFFORT` for better readability
2023-09-15 15:10:21 +05:30
..
2020-11-19 11:00:23 +00:00
2020-11-19 11:00:23 +00:00
2023-09-15 15:10:21 +05:30
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.