How do I read an image file using Python?
PythonImageFilePython Problem Overview
How do I read an image file and decode it using Python?
Python Solutions
Solution 1 - Python
The word "read" is vague, but here is an example which reads a jpeg file using the Image class, and prints information about it.
from PIL import Image
jpgfile = Image.open("picture.jpg")
print(jpgfile.bits, jpgfile.size, jpgfile.format)