Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
976f5ba
1
Parent(s):
56e6de1
...
Browse files
Powers/utils/sticker_help.py
CHANGED
@@ -148,7 +148,7 @@ async def draw_meme(image_path: str, text: str, sticker: bool) -> list:
|
|
148 |
image = Image.open(image_path)
|
149 |
width, height = image.size
|
150 |
|
151 |
-
font_size = int(width /
|
152 |
font = ImageFont.truetype("./extras/comic.ttf", font_size)
|
153 |
|
154 |
draw = ImageDraw.Draw(image)
|
|
|
148 |
image = Image.open(image_path)
|
149 |
width, height = image.size
|
150 |
|
151 |
+
font_size = int(width / 11)
|
152 |
font = ImageFont.truetype("./extras/comic.ttf", font_size)
|
153 |
|
154 |
draw = ImageDraw.Draw(image)
|