The word βreadingβ is vague, but here is an example that 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
TheGentleOne Sep 17 '10 at 15:05 2010-09-17 15:05
source share