pil image.io code example Example: PIL image example >>> from PIL import Image >>> im = Image.open("image.jpg") >>> im.show()