[SciPy-user] bug in pilutils?

Yaroslav Bulatov yaroslavvb@gmail....
Wed Apr 25 16:17:29 CDT 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