#Turns bottom-right corner of a picture (100x100 pixels) white
def whiteCorner (pic):
for x in range (getWidth(pic)-100, getWidth(pic)):
for y in range (getHeight(pic)-100, getHeight(pic)):
px = getPixel(pic, x, y)
setColor(px, white)
def whiteCorner (pic):
for x in range (getWidth(pic)-100, getWidth(pic)):
for y in range (getHeight(pic)-100, getHeight(pic)):
px = getPixel(pic, x, y)
setColor(px, white)
No comments:
Post a Comment