This repository is created to convert webp
to png
and then reduce the file size to under 2MB (for use as profile pictures, thumbnails, etc.).
- Python
- Pillow
python -m venv venv
venv\Scripts\activate
python3 -m venv venv
source venv/bin/activate
pip install pillow
python con_webp_to_png.py
python reduce_under_2MB.py
Before we start the project, we need to prepare the data in data/raw/{name}.webp.
You can place all images there and then begin the process.