john sapresti dirmi perchè mi dà errore:
import os, sys
import PIL
from PIL import Image
infile = Image.open('map_heights.tga')
infile.getpixel(0,0)
raw_input("Premere INVIO per uscire")
mi dice
Traceback (most recent call last):
File "C:/Documents and Settings/Andrea Vuolo/Desktop/verificator.py", line 6, in <module>
infile.getpixel(0,0)
TypeError: getpixel() takes exactly 2 arguments (3 given)