mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-12 08:47:31 +00:00
AVIF decoder
- Source: https://github.com/AOMediaCodec/libavif
- Version: v0.5.4
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.