PIL Attribute Error
I tried to do a scrip with Pillow but i have a instance method error the code is something like that import StringIO import subprocess from PIL import Image command = 'fswebcam -q
Solution 1:
You can't subscript the image object directly, you must use the load
method to create an access object.
im = Image.open(imageData)
buffer1 = im.load()
print buffer1[1,1]
Post a Comment for "PIL Attribute Error"