whallysson/to-webp

Easy WebP conversion!

v1.0.3 2020-03-19 13:48 UTC

This package is auto-updated.

Last update: 2024-11-20 00:43:53 UTC


README

Maintainer Source Code PHP from Packagist Latest Version Software License Build Quality Score Total Downloads

to-webp converts JPEG & PNG files to WebP format. That is an image format developed by Google that promises to reduce the image file size by up to 39%.

to-webp faz a conversão de arquivos JPEG & PNG para o formato WebP. Que é um formato de imagem desenvolvido pelo Google que promete reduzir o tamanho do arquivo de imagens em até 39%.

Installation

to-webp is available via Composer:

composer require whallysson/to-webp

How to use

@to-webp

<?php
// Include the library
require_once __DIR__ . '/vendor/whallysson/to-webp/images.php';
?>

<img alt="image-webp" src="<?= image('path-to-the-image', 800); ?>"/>

Contributing

Please see CONTRIBUTING for details.

Support

Security: If you discover any security related issues, please email whallyssonallain@gmail.com instead of using the issue tracker.

Se você descobrir algum problema relacionado à segurança, envie um e-mail para whallyssonallain@gmail.com em vez de usar o rastreador de problemas.

Thank you

Credits

License

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