This repository contains multiple versions of an image viewer application built in Python using the tkinter library for GUI and the PIL (Python Imaging Library) module for image handling. Each version provides different functionalities or enhancements to the basic image viewer. My blogposts about this topic https://blog.jeronimus.net/search/label/ImageViewer
Blog post https://blog.jeronimus.net/2024/04/exploring-my-image-viewer-repository.html
-
image_viewer01_basic.py: Basic version of the image viewer with buttons to load predefined images. -
image_viewer02_dropdown.py: Enhanced version with a dropdown menu to select images. -
image_viewer03_with_menu.py: Version with menu to select images. -
image_viewer04_objects.py: Version with images as objects.Blog post https://blog.jeronimus.net/2024/04/exploring-my-image-viewer-repository_21.html
-
image_viewer05_lambda.py: Version using lambda in menu.
Each Python script can be run independently by executing it with Python. Ensure that you have Python installed on your system along with the required libraries (tkinter and PIL).
- Clone or download the repository to your local machine.
- Open a terminal or command prompt.
- Navigate to the directory containing the desired Python script.
- Run the following command:
Replace
python script_name.pyscript_name.pywith the name of the script you want to run.
21 april 2024 - moved images to img direcory - changed names of scripts from image_viewer_.. to image_viewerNR_ where NR is a 2 digit number
Contributions to this repository are welcome! If you have any enhancements or new features to add to the image viewer, feel free to fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License, allowing you to use, modify, and distribute the code freely.