Extension:AVIF

MediaWiki extensions manual
AVIF
Release status: beta
Implementation Media
Description Automatic generation of AVIF versions of images and thumbnails
Author(s) tesinormed (SomeContributorOnEarthtalk)
Latest version 0.1.5 (2024-11-24)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.42
PHP >= 8.1
Database changes No
License GNU General Public License 2.0 or later
Download
Example Amaranth Legacy
$wgAVIFExecutablePath

The AVIF extension automatically generates AVIF versions of images and thumbnails.

Currently, only image/png and image/jpeg are supported for transformation.

Installation

edit

Configuration parameters

edit
Variable Description Default value
$wgAVIFExecutablePath Path to the avifenc executable /usr/bin/avifenc

Maintenance scripts

edit

GenerateAvifFromFiles.php

edit
Option Description
file File(s) to generate AVIF versions of

If the file option is not set, the maintenance script will queue transformation jobs for every image/png and image/jpeg file.

See also

edit