convert PIL pixels to python list