Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open Pictures with Python
Hello guys
with my workmate we have to make a programm.
I'll explain you it quickly.
So we would like to make a kind of narrative story in which the user have to choose if an event will happend or not (for example if the WW2 will happend or not and it will change the actual society)
We already did the different Timelines that we saved as JPEG, but we have no idea of how we could open the picture with python, maybe we need to use a tier app ? can you enlighten us ?
There are many solutions to open images with python. You can use GUI toolkits such as tkinter, wxpython, PyQt5, pygame etc. You can also use python bindings to the imagemagick library, such as the wand module
>>> from wand.image import Image                                                            
>>> from wand.display import display                                                        
>>> with Image(filename='/home/me/foo.jpg') as image:
...     display(image)

Possibly Related Threads…
Thread Author Replies Views Last Post
  Random pictures from a file aliwien 2 1,607 Apr-23-2021, 06:00 PM
Last Post: snippsat
  Help with taking pictures on raspberry pi octavia 1 847 Feb-07-2020, 04:54 PM
Last Post: Larz60+
  client-server pictures mcgrim 4 1,566 Oct-25-2019, 09:53 PM
Last Post: micseydel
  Comparing pictures pedro 1 1,799 Sep-11-2017, 07:51 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020