WordPress.org

Make WordPress Core

Changes between Version 3 and Version 12 of Ticket #52867


Ignore:
Timestamp:
03/30/2021 09:17:35 PM (6 months ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52867

    • Property Keywords dev-feedback added
    • Property Summary changed from Use WebP as default format for image sub-sizes (when available). to Add capability to set default format for image sub-sizes.
  • Ticket #52867 – Description

    v3 v12  
    1 Follow up to #35725 where we introduced support for WebP images. Please review this ticket first as many of the changes proposed here have already been discussed extensively there!
     1Introduces a new filter that enables setting a default sub-size image output format when uploading images.
    22
    3 By switching to WebP, users won't need to do anything and will benefit from faster sites because images will be 25-40% smaller, all with no loss of quality. Hosts will benefit from reduced memory usage for compression, and reduced storage and bandwidth requirements for images.
     3This enables testing WebP (or other image formats) as the default output format.
     4
     5Follow up to #35725 where we introduced support for WebP images.
     6
     7By switching to WebP as their default output format, users won't need to do anything and will benefit from faster sites because images will be 25-40% smaller, with no loss of quality. Hosts will benefit from reduced memory usage for compression, and reduced storage and bandwidth requirements for images.
    48
    59By using WebP as the default image format:
     
    711* Uploaded images are converted to smaller sub-sizes - these images will now use the WebP format if the server supports it.
    812  * Note both GD and Imagick support WebP lossy and lossless, however only Imagick supports animated images.
    9 * A filter controls the type re-mapping and can be used to opt out of the feature entirely, or on a per image or image type basis (eg only convert jpegs).
     13
    1014
    1115Considerations: