In [12]: scipy.misc.fromimage(scipy.misc.toimage(20*ones((1,1)))) Out[12]: array([[0]], dtype=uint8) No matter what the starting array is, converting it to image and then back to array gives me an array of 0's, but I expect to get the starting array