Detecting available methods for converting webp images with PHP directly on the server

If ANY of these works, it means you should be able to use the webp-convert library for converting images to webp without resolving to cloud conversion.

Method Status Info
Vips extensionNot functionalVips extension is not installed.
Installation instructions are available here
Executing cwebNot functionalCannot execute "cwebp -version". Failed with status code 127 which indicates that is not installed.
Installation instructions are available here
Imagick extensionWorks!Version: ImageMagick 6.9.13-60 Q16 x86_64 19889 https://legacy.imagemagick.org
GraphicsMagick extensionNot functionalGmagick extension is not installed.
Installation instructions are available here
Executing imagemagickWorks!Version: ImageMagick 6.9.13-60 Q16 x86_64 19889 https://legacy.imagemagick.org
Executing ffmpegNot functionalCannot execute "ffmpeg -version". Failed with status code 127 which indicates that is not installed.
Gd extensionWorks!Version: bundled (2.1.0 compatible)
Note that Gd is inferior to the other methods as it does not support any webp options. It can for example not produce lossless webps which makes it inadequate for converting PNG to WEBP.