formation
This commit is contained in:
parent
7d942e6b83
commit
99b54ae108
1 changed files with 5 additions and 5 deletions
|
@ -55,12 +55,12 @@ class ImageProcessor:
|
||||||
y = imageheight - textheight - margin
|
y = imageheight - textheight - margin
|
||||||
|
|
||||||
# thin border
|
# thin border
|
||||||
drawer.text((x-1, y), text, font=font, fill=(64, 64, 64))
|
drawer.text((x-1, y), text, font = font, fill = (64, 64, 64))
|
||||||
drawer.text((x+1, y), text, font=font, fill=(64, 64, 64))
|
drawer.text((x+1, y), text, font = font, fill = (64, 64, 64))
|
||||||
drawer.text((x, y-1), text, font=font, fill=(64, 64, 64))
|
drawer.text((x, y-1), text, font = font, fill = (64, 64, 64))
|
||||||
drawer.text((x, y+1), text, font=font, fill=(64, 64, 64))
|
drawer.text((x, y+1), text, font = font, fill = (64, 64, 64))
|
||||||
# Adding text in the desired color
|
# Adding text in the desired color
|
||||||
drawer.text((x, y), text, font = font, fill=(255, 255, 255))
|
drawer.text((x, y), text, font = font, fill = (255, 255, 255))
|
||||||
|
|
||||||
return image
|
return image
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue