simplify anchor example image

This commit is contained in:
nulano 2020-10-04 20:14:24 +01:00
parent d22608b7bd
commit 6b8d8ac313
2 changed files with 1 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -8,8 +8,7 @@ def test(anchor):
d = ImageDraw.Draw(im)
d.line(((100, 0), (100, 100)), "gray")
d.line(((0, 50), (200, 50)), "gray")
d.text((100, 50), "Sample", "black", font, anchor)
d.text((10, 100), "anchor=%s" % anchor, "gray", font, "ld")
d.text((100, 50), f"{anchor} example", "black", font, anchor)
return im