Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
892a93e
1
Parent(s):
1075772
...
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)
|