WebP to PNG Converter is a Python script that monitors the downloads folder for newly downloaded WebP files, converts them to PNG using an API, and replaces the original files.
- Automatically converts newly downloaded WebP files to PNG.
- Monitors the downloads folder for changes every 5 seconds.
- Uses the Flask API to perform the conversion.
- Python 3.x
- Pillow library
- Flask library
- Watchdog library
Install the required dependencies using the following command:
pip install Pillow Flask watchdog
- Clone the repo
git clone https://github.com/PhialsBasement/Auto-WebP-to-PNG/
- cd into the directory
cd Auto-WebP-to-PNG
- Run the Flask API
python API.py
- Run the watchdog
python main.py