Correction: it seems GD has some built-in support for webp: [php.net...]
Check phpinfo() to see if the GD extension on your server has WebP support enabled.
xCart
2:20 pm on Feb 12, 2019 (gmt 0)
The problem with external api is that they are paid. I will not convince my clients to solve this problem. They want to pay once and have.
Very strange that there are no such solutions in the network. Webp is already an old file format :|
I have the imagewebp function available in PHP, but I can't convert transparent png images to webp. That's why I'm looking for a ready-made class. Something like phpThumb but with webp support.
:D
rainborick
6:24 am on Feb 17, 2019 (gmt 0)
I didn't spot exactly when webp support was added, but ImageMagick v7.x+ should support webp conversions. ImageMagick is widely available, along with a PHP class. But even if the class isn't on your server, if a compatible version of ImageMagick is there you can access it through a system() or passthru() call. Something to check into, anyway.