formation

This commit is contained in:
Mr Finchum 2024-12-28 20:36:05 +01:00
parent 7d942e6b83
commit 99b54ae108

View file

@ -55,12 +55,12 @@ class ImageProcessor:
y = imageheight - textheight - margin
# 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, y-1), text, font=font, fill=(64, 64, 64))
drawer.text((x, y+1), 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))
# 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