pil show image code example
Example 1: show image in python
from PIL import Image
#read the image
im = Image.open("sample-image.png")
#show image
im.show()
Example 2: pil python image
from PIL import Image
im = Image.open("bride.jpg")
im.rotate(45).show()