9951 explained code solutions for 126 technologies


python-pillowHow to display an image


from PIL import Image, ImageEnhance

im = Image.open('/var/www/examples/heroine.png')

im.show()ctrl + c
Image.open

open given image with Pillow

.show()

displays resulting image