whallysson / to-webp
Easy WebP conversion!
v1.0.3
2020-03-19 13:48 UTC
Requires
- php: >=7.1
- ext-gd: *
- codeblog/conveter-php-webp: ^1.0
- codeblog/thumbcropper: ^1.0
This package is auto-updated.
Last update: 2024-10-20 00:33:24 UTC
README
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
- Whallysson Avelino (Developer)
- CodBlog (Team)
- All Contributors (This Rock)
License
The MIT License (MIT). Please see License File for more information.