This application allows users to apply various image effects to their photos using a graphical user interface (GUI). It leverages the tkinter library for the interface and the PIL library for image processing. Users can open images, apply different effects, adjust parameters using sliders, and save the processed images.
- Open and display images.
- Apply a variety of image effects.
- Adjust effect parameters using sliders.
- Save the processed images.
- Zoom and pan images for better viewing.
- Python 3.x
- tkinter
- Pillow (PIL)
- scipy (for some image effects)
Install Python: Make sure you have Python installed. You can download it from python.org.
pip install pillow scipy
git clone https://github.com/yourusername/XImageWorks.git
cd XImageWorks
Run the Application:
python ximageworks_0.2.py
Open an Image:
- Click the "Open Image" button.
- Browse and select the image file you want to process.
Select an Effect:
- Use the dropdown menu to select the desired effect from the list of available effects.
Adjust Parameters:
- If the selected effect has adjustable parameters, sliders will appear.
- Move the sliders to adjust the parameters as desired.
Save the Processed Image:
- Click the "Save Image" button.
- Choose the location and file name for the processed image.
image_effects.py: Contains functions for various image effects. slider_handling.py: Manages the creation and updating of sliders for effect parameters. file_handling.py: Handles opening and saving image files.
You can customize the effects by modifying the image_effects.py file and adding new functions or adjusting existing ones. The effects dictionary in image_effects.py maps effect names to their corresponding functions.
Ensure all dependencies are installed: Make sure you have installed all the required libraries (tkinter, Pillow, and scipy). Check file paths: Ensure that the paths to image files are correct when opening and saving images.
This project is licensed under the MIT License.