[SciPy-user] fromimage returns instance instead of numpy array

Sebastian seb@rudel...
Mon Oct 8 09:21:39 CDT 2007

Robert Kern <robert.kern <at> gmail.com> writes:

> Sebastian wrote:
> > Hello,
> > after I updated numpy and scipy to the newest version a script which uses the
> > scipy.misc.pilutil package dosent't work any more. The function "fromimage"
> > returns an image as image and dosen't convert it to a numpy array.
> Exactly what version of scipy are you talking about? The one I have from a
> recent SVN checkout works fine. It was modified to its current form on
> 2007-08-28. It might also be that this code relies on behavior of recent
> releases of PIL. I am using PIL 1.1.6b2. What are you using?

I used the PIL 1.1.5. After installing the PIL 1.1.6 the problem was solved.
Thanks for your kind help.

Greeting Sebastian

More information about the SciPy-user mailing list