Extension:AVIF

Category:Extensions without an imageCategory:GPL licensed extensions
MediaWiki extensions manual
AVIF
Release status: betaCategory:Beta status extensions
Implementation MediaCategory:Media handling extensions
Description Automatic generation of AVIF versions of images and thumbnails
Author(s) tesinormed (SomeContributorOnEarthtalk)
Latest version 0.4.0 (2024-11-29)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.Category:Extensions with release branches compatibility policy
MediaWiki >= 1.42Category:Extensions with manual MediaWiki version
PHP >= 8.1
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in GitHub version control
Example Amaranth Legacy
$wgAVIFExecutablePath
Category:All extensionsCategory:Extensions not in ExtensionJson

The AVIF extension automatically generates AVIF versions of images. It does not generate AVIF thumbnails.

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

Installation

Configuration parameters

Variable Description Default value
$wgAVIFExecutablePathPath to the avifenc executable/usr/bin/avifenc

Maintenance scripts

GenerateAvifFromFiles.php

Option Description
fileThe file to generate an AVIF version from (can be specified multiple times)

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

See also

Category:All extensions Category:Beta status extensions Category:BitmapHandlerTransform extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions with manual MediaWiki version Category:Extensions with release branches compatibility policy Category:Extensions without an image Category:FileDeleteComplete extensions Category:FileUndeleteComplete extensions Category:GPL licensed extensions Category:Media handling extensions Category:PageMoveComplete extensions Category:UploadComplete extensions