forked from external-repos/squoosh
See the discussion in https://github.com/AOMediaCodec/libavif/issues/254 where this was implemented. This allows us to avoid using ERROR_ON_UNDEFINED_SYMBOLS and build a truly separate encoder/decoder libs.
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.