PHP code example of gtarr / webp-parse-and-convert
1. Go to this page and download the library: Download gtarr/webp-parse-and-convert library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gtarr / webp-parse-and-convert example snippets
var_dump(function_exists('imagewebp')); // bool(true) - можно