diff --git a/imageGen.py b/imageGen.py index 6d4b9b7..925e69a 100644 --- a/imageGen.py +++ b/imageGen.py @@ -123,7 +123,13 @@ def gen_Oh_I_Mountain(wb): blank.paste(Goal, cords.center_on(Goal,(946,673)),Goal) #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") diff --git a/templets/Oh_I_mountain.png b/templets/Oh_I_mountain.png index e94123a..80d9b48 100644 Binary files a/templets/Oh_I_mountain.png and b/templets/Oh_I_mountain.png differ