[Image-SIG] Re: I think I found a bug ...
fredrik at pythonware.com
Mon Jul 5 08:56:31 CEST 2004
Pascal Ströing wrote:
> >>> from Image import *
> >>> f=open("mTemp.py","w")
> You see I use a PIL-independent python-function but PIL try to interpret it.
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/local/lib/python2.3/site-packages/PIL/Image.py", line 1538, in
> raise ValueError("bad mode")
> ValueError: bad mode
yes, that's a bug in your program. DO NOT use "from import *" if you
don't understand how it works:
More information about the Image-SIG