from sprites import make_rect_image im = make_rect_image(100,50,fill=(255,0,0,255),outline=(0,0,255,255)) im.save("C:/redrect.png")