Tarikul-Islam-Anik / WebP-Converter

Easily convert our images into Webp format with this simple Python script!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is 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.

WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality index.

Lossless WebP supports transparency (also known as alpha channel) at a cost of just 22% additional bytes. For cases when lossy RGB compression is acceptable, lossy WebP also supports transparency, typically providing 3× smaller file sizes compared to PNG.

Learn more about WebP at here.

How to use:

  1. Clone the repository or download the archive.
  2. Open up the project folder.
  3. Place all the images in the in folder.
  4. Run the main.py script.
  5. The WebP formated images will be generated in the out folder.

Read blog post: https://www.oxyzen.me/blogs/how-to-convert-image-to-webp-in-python

About

Easily convert our images into Webp format with this simple Python script!


Languages

Language:Python 100.0%