+ 1
in python how do you import a image
4 Réponses
+ 6
You should Install PIL
And write this
from PIL import Image
myImage = Image.open("image_source"); myImage.show();
+ 4
ahh... you need a GUI for that. but first, learn the basics
+ 4
kai karsan , what do you mean by saying "... import an image ..." ? what do you want to make with this image? if you just want to apply filter or an image manipulation, you don't need to have a gui, you can just run it with python and PIL.
+ 1
can someone plz help