how to return image.value() in PIL code example Example: pil python image from PIL import Image im = Image.open("bride.jpg") im.rotate(45).show()