Convert images to WebP format in python
MIT License
The file formats you use on your website have a major impact on its speed, quality, and performance. However, figuring out which image types to use can require a bit of research.
For example, WebP is a relatively new, next-gen image file format created by Google. Understanding what it is and how to use it on your WordPress site can help you enhance your User Experience (UX) and overall reduce loading times.
There is many websites that convert your photos to WebP format. But it's the offline way 😉
This script will do these:
logo.png
file )Install Pillow with pip:
pip install Pillow
Place your images in images
directory and:
python convert.py
Windows users can easily execute run.bat
to convert images
Don't be shy to be a contributor 😉
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
Each project may have many problems. Contributing to the better development of this project by reporting them.