[Image-SIG] Error with last version PIL Image (AttributeError: pixel_access)

barchia barchia at gmail.com
Wed Dec 20 21:55:55 CET 2006

Hi to *,

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
  File "C:\Python24\Lib\site-packages\PIL\Image.py", line 599, in load
    return self.im.pixel_access(self.readonly)
AttributeError: pixel_access

I hope that problem not is hard to solve....

Thanks !

Alessandro Barchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/image-sig/attachments/20061220/5b1663eb/attachment.html 

More information about the Image-SIG mailing list