Skip to content

Convert JPEG and PNG images to WebP for static website generated by Jigsaw

License

Notifications You must be signed in to change notification settings

co0lsky/jigsaw-webp

Repository files navigation

Jigsaw WebP

Convert JPEG and PNG images to WebP for static website generated by Jigsaw

Install

Via Composer

$ composer require skychin/jigsaw-webp

Usage

$source = $jigsaw->getSourcePath() . '/_assets/images/';
$destination = $jigsaw->getSourcePath() . '/assets/images/';
$converter = new \SkyChin\Jigsaw\WebP\ImageConverter($jigsaw->getFilesystem());
$converter->convert($source, $destination);

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Convert JPEG and PNG images to WebP for static website generated by Jigsaw

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages