libgd/examples
Ben Morss f2aa2836ed
AVIF support (#671)
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.
2021-03-03 21:35:56 -05:00
..
CMakeLists.txt examples: fix build errors in previous cleanup here 2018-06-26 04:07:10 -04:00
arc.c Remove Git ident attributes 2018-06-27 02:04:37 +02:00
avif2jpeg.c AVIF support (#671) 2021-03-03 21:35:56 -05:00
copyrotated.c Remove Git ident attributes 2018-06-27 02:04:37 +02:00
crop.c Remove Git ident attributes 2018-06-27 02:04:37 +02:00
flip.c Remove Git ident attributes 2018-06-27 02:04:37 +02:00
gif.c clean up trailing whitespace/newlines 2018-06-21 22:47:42 -04:00
jpeg2avif.c AVIF support (#671) 2021-03-03 21:35:56 -05:00
jpeg2avifex.c AVIF support (#671) 2021-03-03 21:35:56 -05:00
nnquant.c Remove Git ident attributes 2018-06-27 02:04:37 +02:00
noIcon.pic - #122, some samples tga images (.pic and sgi fail for now) 2007-10-07 19:42:18 +00:00
noIcon.sgi - #122, some samples tga images (.pic and sgi fail for now) 2007-10-07 19:42:18 +00:00
noIcon.tga - #122, some samples tga images (.pic and sgi fail for now) 2007-10-07 19:42:18 +00:00
noIconAlpha.tga - add tga with alpha example image 2007-10-08 07:23:20 +00:00
png2avif.c AVIF support (#671) 2021-03-03 21:35:56 -05:00
resize.c clean up trailing whitespace/newlines 2018-06-21 22:47:42 -04:00
test_crop_threshold.png - #136 add crop image support 2007-12-12 15:56:03 +00:00
tgaread.c Remove Git ident attributes 2018-06-27 02:04:37 +02:00
tiffread.c Remove Git ident attributes 2018-06-27 02:04:37 +02:00
windows.c Remove Git ident attributes 2018-06-27 02:04:37 +02:00