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
Convert Numpy to PIL image and PIL to Numpy
Numpy to PIL
PIL to Numpy
import numpy as np from PIL import Image def pilToNumpy(img): return np.array(img) def NumpyToPil(img): return Image.fromarray(img)