Citation :
Traceback (most recent call last):
File "x.py", line 1022, in DisplayGLScene
subDisplay()
File "x.py", line 1055, in subDisplay
ImageSF('atomes_ID', [1-tmp,0.5], 20.0)
File "x.py", line 299, in ImageSF
LoadAlphaTexture(os.path.abspath(os.path.curdir)+"\\"+img+".bmp" )
File "x.py", line 236, in LoadAlphaTexture
image = image.tostring('raw', 'L', 0, -1)
File "C:\Python23\Lib\site-packages\PIL\Image.py", line 439, in tostring
e = _getencoder(self.mode, encoder_name, args)
File "C:\Python23\Lib\site-packages\PIL\Image.py", line 323, in _getencoder
return apply(encoder, (mode,) + args + extra)
SystemError: unknown raw mode
|