using PIL python code example
Example 1: PIL image example
>>> from PIL import Image
>>> im = Image.open("image.jpg")
>>> im.show()
Example 2: python pil
from PIL import Image
img = Image.open("./my_image.png")
Example 3: pil python image
from PIL import Image
im = Image.open("bride.jpg")
im.rotate(45).show()