puredazzle / wp-image-to-avif
A WordPress plugin for converting images to AVIF format for optimal performance.
Package info
github.com/puredazzle-org/wp-image-to-avif
Type:wordpress-muplugin
pkg:composer/puredazzle/wp-image-to-avif
0.1.0
2026-05-05 08:19 UTC
Requires
- php: ^8.2
README
A WordPress plugin that automatically converts uploaded images to AVIF format for optimal performance.
Features
- Automatically converts JPEG, PNG, WebP, and GIF images to AVIF on upload
- Converts all generated thumbnail sizes
- Manual conversion button in the Media Library for existing images
- Automatically updates image URLs in srcset attributes
Requirements
- PHP 8.2+
- ImageMagick with AVIF support
Installation
Require the package with Composer in the root directory of your project.
composer require puredazzle/wp-image-to-avif
The plugin will be installed as a must-use plugin.
Configuration
The plugin uses a default quality setting of 85. Images larger than 10MB will not be converted.