[SciPy-user] bug in pilutils?

Yaroslav Bulatov yaroslavvb at gmail.com
Wed Apr 25 17:17:29 EDT 2007


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



More information about the SciPy-User mailing list