Fix Oh I mountain text

This commit is contained in:
Venrey 2024-07-13 07:01:35 +00:00
parent cb4f025781
commit 16faa0a64b
2 changed files with 7 additions and 1 deletions

View file

@ -123,7 +123,13 @@ def gen_Oh_I_Mountain(wb):
blank.paste(Goal, cords.center_on(Goal,(946,673)),Goal) blank.paste(Goal, cords.center_on(Goal,(946,673)),Goal)
#Mask and combine #Mask and combine
Image.composite(blank, Oh_I_Mountain, Oh_I_Mountain_Mask).save("./gen/Oh_I_mountain.png") graph_comp = Image.composite(blank, Oh_I_Mountain, Oh_I_Mountain_Mask)
draw = ImageDraw.Draw(graph_comp)
font = ImageFont.truetype("./fonts/Asap_Condensed/AsapCondensed-Bold.ttf", 36)
draw.text((871, 298),format_frendly(wb["Oh I Mountain"]["B2"].value)+" Goal/Mo",(0,0,0),font=font)
graph_comp.save("./gen/Oh_I_mountain.png")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

After

Width:  |  Height:  |  Size: 956 KiB

Before After
Before After