I want to get an image from the pi camera module and use the pillow imaging library to modify the image. The way I have been doing it up to now is to take a picture with the camera and then open that file using:
from PIL import Image
Im = Image.open("the file path")
That has worked well, but I don't want to save the image until I have modified it. is there a way of doing:
Im = camera.capture() #where Im is a PIL image
print(Im.width) # or any other PIL.Image property / method
Thanks