Skip to content

Commit b71d28f

Browse files
committed
Complete 0000
1 parent 5184c77 commit b71d28f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DIYgod/0000/add_num.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def add_num(picPath, num):
77
img = Image.open(picPath)
88
x, y = img.size
99
myfont = ImageFont.truetype('Futura.ttf', x / 3)
10-
ImageDraw.Draw(img).text((2* x / 3, 0), str(num), font = myfont, fill = 'red')
10+
ImageDraw.Draw(img).text((2 * x / 3, 0), str(num), font = myfont, fill = 'red')
1111
img.save('pic_with_num.jpg')
1212

1313
if __name__ == '__main__':

0 commit comments

Comments
 (0)