Plugin Directory

Changeset 2872495


Ignore:
Timestamp:
02/28/2023 04:03:20 PM (3 years ago)
Author:
fastware
Message:

updated readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fastware-webpavif/trunk/readme.txt

    r2871770 r2872495  
    1111Fast & simple plugin to automatically serve WebP & AVIF images to browsers which support those formats (with fallback to original format).
    1212
    13 No configuration required. All images are lossless converted, so no quality loss. This plugin does not change any URL, but serves images in the right format depending on the "Accept" header.
     13**Features**
     14- Automatically convert jp(eg)/png images to WebP/AVIF.
     15- Serve WebP/AVIF format to browsers which support those formats (relying on the "Accept" header).
     16- Images are queued ondemand, and converted in background via a scheduled task.
     17- Images which are never used (requested) will not be converted to save resources.
     18- All images are lossless converted, so no quality loss.
     19- No image URLs are changed, solution is purely based on .htaccess rewrite rules.
     20- WebP images are served as PNG when the browser/client does not support WebP (e.g. Microsoft Outlook).
    1421
    1522**Browser support**
     
    1724- AVIF: Chrome, Firefox, Safari (Edge doesn't support AVIF yet)
    1825
    19 Each image is converted "ondemand", so images which are never used will not be converted to save resources. The conversion is done as a background job.
    20 
    21 Additional feature: uploaded WebP images are served as PNG when the browser/client does not support WebP. This is especially the case for many mail-clients.
     26*Good to know*
     27- It may take a few minutes before the WebP/AVIF images are generated
     28- AVIF is a relatively new format, and not widely supported yet on servers. This depends on your server configuration (see Server requirements).
     29- Generating AVIF images is CPU-intensive, and may take a while.
     30- WebP/AVIF format is only served when this format is smaller than the original jp(e)g/png file. Depending on the image, WebP/AVIF is not always the most efficient format.
    2231
    2332== Installation ==
     
    2736- Apache 2.x with mod_rewrite enabled
    2837- ImageMagick or GDlib with WebP support
    29 - Optional: ImageMagick with AVIF support (from ImageMagick v7.0.25 and greater)
     38- ImageMagick with AVIF support
     39- Note: Conversion of **transparent** PNG-files to AVIF only works with ImageMagick v7.0.25 or higher.
    3040
    3141== Changelog ==
Note: See TracChangeset for help on using the changeset viewer.