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