Mir-Razee / img-to-webp

The repository contains a bash script, with the webp endoder to convert all images in a folder to the webp extention.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

img to webp convertor

The repository contains a bash script, with the webp endoder to convert all images in a folder to the webp extention.

Usage:

Simply clone the repo, paste all the images in the images folder and run the script using:

bash script.sh

All the converted images will be output in the folder webpimage!

(You will need to edit the script if your image isn't in jpg format. In this case, just replace .jpg with your extension in the script.)

About webp

WebP is a modern image format that provides superior lossless and lossy compression for images on the web. Using WebP, webmasters and web developers can create smaller, richer images that make the web faster. Read more about the webp extension

here , and here is the documention on the encoder used. The encoder was taken from the libwebp codec distribution, which can be downloaded from here.

About

The repository contains a bash script, with the webp endoder to convert all images in a folder to the webp extention.


Languages

Language:Shell 100.0%