Skip to content

Commit

Permalink
avoid borders
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Jun 20, 2024
1 parent 6c2c2fc commit 4693f66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/examples/pil/draw_triangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
img = Image.new(mode='RGB', size=(800, 450), color='#eb8634')

draw = ImageDraw.Draw(img)
draw.polygon([(800, 275), (800, 450), (300, 450) ])
draw.polygon([(790, 275), (790, 430), (300, 430) ])

img.save('first.png')
img.show()
img.show()

0 comments on commit 4693f66

Please sign in to comment.