Fix Oh I mountain text
This commit is contained in:
parent
cb4f025781
commit
16faa0a64b
2 changed files with 7 additions and 1 deletions
|
|
@ -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 |
Loading…
Add table
Add a link
Reference in a new issue