diff --git a/utils/image_handler.py b/utils/image_handler.py index 77a94b7..91b247a 100644 --- a/utils/image_handler.py +++ b/utils/image_handler.py @@ -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