Convert JPEG and PNG images to WebP for static website generated by Jigsaw
Via Composer
$ composer require skychin/jigsaw-webp
$source = $jigsaw->getSourcePath() . '/_assets/images/';
$destination = $jigsaw->getSourcePath() . '/assets/images/';
$converter = new \SkyChin\Jigsaw\WebP\ImageConverter($jigsaw->getFilesystem());
$converter->convert($source, $destination);
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.