A simple Python program using Pillow that allows users to make basic edits to multiple image files simultaneously.
-
Download or clone the repo
-
Create a virtual environment and install the requirements with pip.
pip install -r requirements.txt
-
run the
GUI.py
file.
Press the Select Images
button to select the list of images you would like to edit.
The selected images will be displayed with their count.
You can adjust the brightness, contrast, sharpness, and rotate angle using the respective input fields. Choose a filter from the dropdown menu if needed.
Click the Apply Edits
button to apply the selected adjustments to all the chosen images. A progress bar will indicate the completion status of the edits.
The edited files will be saved in the output folder path specified in the Output Folder
field.
Note: Edits will only be applied if the user changes the default values:
- Brightness, Contrast, and Sharpness will be adjusted only if the value is different from 1.0.
- Rotation will be applied only if the angle is different from 0.
- A filter will be applied only if it is selected from the dropdown menu.
Click the Reset button to clear all selections and reset the input fields to their default values.
The following filters can be applied to the images:
- BLUR
- CONTOUR
- DETAIL
- EDGE_ENHANCE
- EDGE_ENHANCE_MORE
- EMBOSS
- FIND_EDGES
- SHARPEN
- SMOOTH
- SMOOTH_MORE
Gandalf (original):
Brightness 2
Contrast 2
Sharpness 2
Rotate 30 degrees
Blur
Detail
Find Edges
Emboss
Contour
The program uses the Pillow library for image processing and tkinter for the GUI. The progress bar shows the progress of the image editing process, giving feedback to the user.
This project is licensed under the MIT License. See the LICENSE file for more details.