is there any good PHP library that can be used to convert jpg, png to webp
Convert JPEG & PNG to WebP with PHP
This library enables you to do webp conversion with PHP using cwebp , gd , imagick , ewww cloud converter or the open source wpc cloud converter. It also allows you to try a whole stack – useful if you do not have control over the environment, and simply want the library to do everything it can to convert the image to webp.
1 Like