This commit is contained in:
2018-04-26 15:42:16 +02:00
parent 932e72c55d
commit dae75cf7c6
10 changed files with 116 additions and 0 deletions

8
Pass3/5 images.py Executable file
View File

@@ -0,0 +1,8 @@
from PIL import Image #måste installera pillow
try:
myimage = Image.open("Python.png")
except:
print("Unable to load image")
myimage.load()
print(myimage.format, myimage.size, myimage.mode)
myimage.show()