4. Image show


4.1. Show

Use the .show() method to open the image using the default app.
In Windows, the default app is usually Photos.
The code below opens an image and shows it.
A temporary file is created for display.
from PIL import Image

with Image.open("tri.jpg") as im:
    im.show()