[wp-trac] [WordPress Trac] #54356: Determine and apply best default quality settings for WebP images
WordPress Trac
noreply at wordpress.org
Mon Aug 22 22:27:09 UTC 2022
#54356: Determine and apply best default quality settings for WebP images
-----------------------------+-----------------------------
Reporter: adamsilverstein | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version: 5.8
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
-----------------------------+-----------------------------
Comment (by adamsilverstein):
@mikeschroder - after your research on
https://github.com/WordPress/performance/issues/7 and my own research on
image formats, I would like to formally suggest we adjust the WebP
compression quality default to 82, matching the value used for JPEGs. We
can leave the filter in place so developers can still fine tune
compression levels by MIME as they can now.
My reasoning can be summarized as follows: WebP was/is developed
**explicitly** to provide a smaller file size and similar image quality
(across testing methodologies) as well as compression resource consumption
''at the same quality setting''. Since we already chose 82 for JPEG, we
should use the same for WebP.
Choosing this value will give WebP generation the most consistently
improved performance profile vs. JPEG, though of course individual image
results will vary depending on a wide range of factors including image
type, quality and size
Worth noting that this ticket was opened based on discussion on the
[https://core.trac.wordpress.org/ticket/35725 original ticket adding WebP
support], however I couldn't track down why we chose the current default
of 86 for WebPs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54356#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list