This commit is contained in:
levina 2022-01-08 22:29:09 +07:00 committed by GitHub
parent 587a3b62c9
commit 79a17b0ba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,17 +34,13 @@ async def thumb(thumbnail, title, userid, ctitle):
draw.text( draw.text(
(25, 610), (25, 610),
f"{title[:18]}...", f"{title[:18]}...",
fill="White", fill="black",
stroke_width=1,
stroke_fill="black",
font=font2, font=font2,
) )
draw.text( draw.text(
(27, 535), (27, 535),
f"Playing on {ctitle[:8]}...", f"Playing on {ctitle[:8]}...",
fill="White", fill="black",
stroke_width=1,
stroke_fill="black",
font=font, font=font,
) )
img.save(f"search/final{userid}.png") img.save(f"search/final{userid}.png")