A simple Image Viewer using Tkinter in Python!
View
·
Report Bug
·
Request Feature
- This is a simple Image Viewer program made with Tkinter in Python 3.8 by Andrio
- When you run the program in a directory. It will fetch all the files in the directory using the OS module.
- Then store the files name in a list and append all the files name ending with image format extensions(.png, .jpeg, .jpg) to an empty list.
- Then iterate throughout the list using back and next buttons which just increment/decrement the index of image_list and show image using Pillow pip package.
- Again the images are deleted using the os.remove funtion of the OS module.
- More features coming soon.
- Clone the repo
git clone https://github.com/Andrio-Codes/Image-Viewer.git
- Install pip modules
pip install pillow
- Run
image_viewer.py
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Copyright (C) [2021] Image viewer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "The-Map-Hunting-Game"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Distributed under the GNU License. See LICENSE for more information.