xref: /php-src/ext/standard/libavifinfo/README.md (revision 38460c2c)
1# AVIF-info
2
3There is no compact, reliable way to determine the size of an AVIF image. A
4standalone C snippet called
5[libavifinfo](https://aomedia.googlesource.com/libavifinfo) was created to
6partially parse an AVIF payload and to extract the width, height, bit depth and
7channel count without depending on the full libavif library.
8
9`avifinfo.h`, `avifinfo.c`, `LICENSE` and `PATENTS` were copied verbatim from: \
10https://aomedia.googlesource.com/libavifinfo/+/96f34d945ac7dac229feddfa94dbae66e202b838 \
11They can easily be kept up-to-date the same way.
12