+ 1

in python how do you import a image

5th Jan 2021, 6:11 PM
kai karsan
4 Respuestas
+ 6
You should Install PIL And write this from PIL import Image myImage = Image.open("image_source"); myImage.show();
5th Jan 2021, 6:18 PM
Jamal Saied
Jamal Saied - avatar
+ 4
ahh... you need a GUI for that. but first, learn the basics
5th Jan 2021, 6:14 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 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.
5th Jan 2021, 7:33 PM
Lothar
Lothar - avatar
+ 1
can someone plz help
5th Jan 2021, 6:12 PM
kai karsan