1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
Yannis c3777c73b3 Update ext/standard/libavifinfo
Fixes GH-20627.
Closes GH-21250.
2026-03-07 11:17:56 +01:00
..

AVIF-info

There is no compact, reliable way to determine the size of an AVIF image. A standalone C snippet called libavifinfo was created to partially parse an AVIF payload and to extract the width, height, bit depth and channel count without depending on the full libavif library.

avifinfo.h, avifinfo.c, LICENSE and PATENTS were copied verbatim from:
https://aomedia.googlesource.com/libavifinfo/+/2b924defa4c2cd227540efe164067a8cc913eeba
They can easily be kept up-to-date the same way.