Welcome to the Pythonista Community Forums!
Pythonista is a Python programming environment for iOS. To learn more, head over to the Pythonista Website.
It looks like you're new here. If you want to get involved, click one of these buttons!
d = img.load()keycolor = d[0,0]for x in range(img.size): for y in range(img.size): p = d[x, y] if p == keycolor: d[x, y] = (p, p, p, 0)