Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

show image in python

from PIL import Image

#read the image
im = Image.open("sample-image.png")

#show image
im.show()
Source by pythonexamples.org #
 
PREVIOUS NEXT
Tagged: #show #image #python
ADD COMMENT
Topic
Name
2+8 =