from sprites import poly2image A = (200,80) B = (-200,0) C = (200,0) im,c = poly2image([A,B,C],fill='red',outline='green') im.save('C:/poly.png')