And imagick can actually generate WebP images, so i think people could benefit of such a feature and maybe it would not need too much development.
Thanks for the suggestion.
It looks like there is an open ticket for this in WordPress (https://core.trac.ww.wp.xz.cn/ticket/35726). I’m not sure if it’s something that would be added until there is broader browser support, but it would probably make sense in a plugin.
Joe
Thanks for the info. Now i know even GD can produce WebP.
Found an interesting article.
(Well to be frank it is a bit frustrating that this feature is still not in WP core, and on the other hand emoji icons do succeed into core instantly.)
WebP has an overall support of 67% it is definately big enough to care about. You have a working plugin with a great logic, why should someone else build another plugin that has another logic and engine (that would just bloat a WP site), knowing that your strategy and libs could handle it just perfectly?
Will dive further into your code but maybe all it needs is to generate webp if conditions are met, and then just serve them if the browser supports them. Both could be done with a few lines of code.
Sorry to resurrect an old thread, but @summoner, did you ever get anywhere with adding WebP creation here??
We’ve been trying this plugin to gain the tweaked IM settings. But would love to also gain WebP images (we can use the .htaccess redirect tweak to serve them).
Thanks!