Untitled

 avatar
unknown
plain_text
a year ago
528 B
4
Indexable
# Correcting the house body coordinates to define the top-left and bottom-right corners
house_body = [(200, 200), (300, 350)]
draw.rectangle(house_body, fill=primary_color, outline=secondary_color)

# Add the text below the house icon
font = ImageFont.load_default()
text_width, text_height = draw.textsize(text, font=font)
text_position = ((500 - text_width) / 2, 400)
draw.text(text_position, text, fill=secondary_color, font=font)

# Save the logo
logo_path = "/mnt/data/RenoConnect_Logo.png"
logo.save(logo_path)

logo_path
Editor is loading...
Leave a Comment