pil python functions code example Example: python pil from PIL import Image img = Image.open("./my_image.png")