This Python script converts images in various formats to the WebP format. It supports both a Command Line Interface (CLI) and a Graphical User Interface (GUI) for user convenience.
- Convert images to WebP format.
- Supports multiple image formats: PNG, JPG, JPEG, BMP, TIFF.
- Provides a simple GUI using Tkinter.
- CLI support for batch processing.
- Python 3.x
- Pillow library
- Tkinter (comes with standard Python installation)
- PyInstaller (for creating an executable)
- Download executable
You can directly use the app by downlaoding and running the executable file inside the
dist
folder. - GUI mode
The
converter_gui.py
file contains code for the GUI version, select the input path & output path and run. - CLI mode
Copy & Run the
convert.py
file inisde the folder containing the images. It will createconverted_images
isnide the folder where this script is run.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please submit a pull request or open an issue to discuss changes.
Author: Parth Chawande Contact: parthrc00@gmail.com