Alright, I\'m toying around with converting a PIL image object back and forth to a numpy array so I can do some faster pixel by pixel transformations than PIL\'s Pixel
Pixel
You need to convert your image to a numpy array this way:
import numpy import PIL img = PIL.Image.open("foo.jpg").convert("L") imgarr = numpy.array(img)