barchia wrote: > Today I update the PIL, because I will try the new version for > check if a problem with the font are solved, instead i found a > new problem as i write in object... > > this is the trace of error: > > >>> import Image, ImageDraw > >>> im = Image.new("RGB",(30,30),'white') > >>> draw = ImageDraw.Draw(im) > Traceback (most recent call last): > File "<interactive input>", line 1, in ? > File "C:\Python24\Lib\site-packages > \PIL\ImageDraw.py", line 294, in Draw > return ImageDraw(im, mode) > File "C:\Python24\Lib\site-packages\PIL\ImageDraw.py", line 59, in > __init__ > im.load() > File "C:\Python24\Lib\site-packages\PIL\Image.py", line 599, in load > return self.im.pixel_access(self.readonly) > AttributeError: pixel_access
if you installed PIL 1.1.6 over an earlier version, make sure that it's not picking an outdated _imaging.pyd file. type >>> import Image >>> Image.core to see what pyd file it's using. </F> _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig