summaryrefslogtreecommitdiff
path: root/tests/avif
Commit message (Collapse)AuthorAgeFilesLines
* Fix #764 prevent crash in test code when AVIF encode/decode fails, fix ↵bug/764Pierre Joye2021-09-142-32/+8
| | | | memory leaks
* avif: simplify tests with gdtest helpersMike Frysinger2021-03-062-39/+16
|
* avif: add test images to distMike Frysinger2021-03-061-1/+9
|
* avif: fix build warnings in new codeMike Frysinger2021-03-041-2/+2
|
* AVIF support (#671)Ben Morss2021-03-0316-0/+334
Demand for AVIF support on the web is growing, as the word gets out about this new file format which allows higher-quality encoding at smaller sizes. Core contributors to major open-source CMSs are interested in auto-generating AVIF images! They've been simply waiting for support to appear in libgd. This PR aims to meet the growing demand, and to help bring smaller, more beautiful images to more of the web - to sites created by experienced developers and CMS users alike. This PR adds support by incorporating libavif in addition to the existing libheif support. It's generally felt that libavif has more complete support for the AVIF format. libavif is also used by the Chromium project and squoosh.app. In this PR, I've endeavored to incorporate the latest research into best practices for AVIF encoding - not just for default quantizer values, but also an algorithm for determining the number of horizontal tiles, vertical tiles, and threads. Fixes #557.