mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-13 09:17:20 +00:00
* Separate colour & alpha options for AVIF * Adding broken noise synthesis * Build files * Updating build * Changing speed default * Remove old comment * Better speed default
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.