[wp-trac] [WordPress Trac] #56526: Generate WebP for JPEG based on image size
WordPress Trac
noreply at wordpress.org
Wed Sep 7 14:48:14 UTC 2022
#56526: Generate WebP for JPEG based on image size
--------------------------+------------------------------------------
Reporter: flixos90 | Owner: flixos90
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.1
Component: Media | Version:
Severity: normal | Keywords: needs-patch needs-unit-tests
Focuses: |
--------------------------+------------------------------------------
Follow up to #55443: While the multi MIME type architecture has been
reverted, part of that code that came as an iteration to the original
proposal was to allow fine tuned control over which image sizes should use
WebP vs JPEG.
For the vast majority of sizes, it will make sense to use WebP (e.g. any
size that is used in the frontend). However, there are some special cases
we need to consider, e.g. sizes that are registered only for a special
circumstance, such as usage in an email newsletter or in Open Graph tags,
or any other technology that may not support WebP.
This ticket is to track this work, and it is a prerequisite to the already
opened #56288, which will be used to control this aspect for custom image
sizes in a declarative way.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56526>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list