python pillow syntax 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")
>>> from PIL import Image
>>> im = Image.open("image.jpg")
>>> im.show()
from PIL import Image
img = Image.open("./my_image.png")