image optimizer for web

No WebP Generated

Kane said, on 03/11/2021
When converting a png to webp using --webp-lossy=20, depending on the png, sometimes a webp is not generated. I assume the reason is that the webp offered no appreciable savings, or was actually larger. However is there a way to ensure the webp gets generated regardless?
cédric (dev) said, on 16/12/2021
not directly atm. as workaround, try -reset=2 on PNG first
Enes Sahin said, on 23/02/2022
Same situation running on JPG files. If there was no saving, WEBP conversion is not working. Actually, there should be an option to force conversion.
cédric (dev) said, on 16/05/2022
you could use cwebp

reply