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]
Baca Juga
- Requests + Grequests: Is The "connection Pool Is Full, Discarding Connection:" Warning Relevant?
- Writing Text With Diacritic ("nikud", Vocalization Marks) Using Pil (python Imaging Library)
- Error In Draw.rectangle([x1, Y1, X2, Y2], Fill="black") When Drawing Rectangle With Pil For High Dimension Images
Post a Comment for "Pil Attribute Error"