File size: 4,143 Bytes
8bab08d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
"""
Create placeholder branding images for OmniFlow CX
These are simple placeholder images that can be replaced with professional designs
"""
from PIL import Image, ImageDraw, ImageFont
import os
def create_logo():
"""Create Logo.png - App logo"""
width, height = 400, 120
img = Image.new('RGB', (width, height), color='#1e3a8a') # Dark blue
draw = ImageDraw.Draw(img)
# Try to use a nice font, fallback to default
try:
font = ImageFont.truetype("arial.ttf", 48)
small_font = ImageFont.truetype("arial.ttf", 20)
except:
font = ImageFont.load_default()
small_font = ImageFont.load_default()
# Draw wave emoji and text
text = "π OmniFlow CX"
bbox = draw.textbbox((0, 0), text, font=font)
text_width = bbox[2] - bbox[0]
text_height = bbox[3] - bbox[1]
x = (width - text_width) / 2
y = (height - text_height) / 2 - 10
draw.text((x, y), text, fill='white', font=font)
# Subtitle
subtitle = "MCP-Powered B2B Sales Automation"
bbox2 = draw.textbbox((0, 0), subtitle, font=small_font)
text_width2 = bbox2[2] - bbox2[0]
x2 = (width - text_width2) / 2
draw.text((x2, y + 60), subtitle, fill='#93c5fd', font=small_font) # Light blue
img.save('Logo.png')
print("[OK] Created Logo.png")
def create_banner():
"""Create Banner.png - Banner image"""
width, height = 1200, 300
img = Image.new('RGB', (width, height), color='#0f172a') # Very dark blue
draw = ImageDraw.Draw(img)
try:
font = ImageFont.truetype("arial.ttf", 72)
subtitle_font = ImageFont.truetype("arial.ttf", 32)
except:
font = ImageFont.load_default()
subtitle_font = ImageFont.load_default()
# Main title
text = "π OmniFlow CX"
bbox = draw.textbbox((0, 0), text, font=font)
text_width = bbox[2] - bbox[0]
x = (width - text_width) / 2
draw.text((x, 60), text, fill='white', font=font)
# Subtitle
subtitle = "Intelligent B2B Sales Automation β’ Model Context Protocol"
bbox2 = draw.textbbox((0, 0), subtitle, font=subtitle_font)
text_width2 = bbox2[2] - bbox2[0]
x2 = (width - text_width2) / 2
draw.text((x2, 160), subtitle, fill='#60a5fa', font=subtitle_font)
# Bottom text
bottom_text = "π Hugging Face + Anthropic MCP Hackathon 2024"
try:
bottom_font = ImageFont.truetype("arial.ttf", 24)
except:
bottom_font = ImageFont.load_default()
bbox3 = draw.textbbox((0, 0), bottom_text, font=bottom_font)
text_width3 = bbox3[2] - bbox3[0]
x3 = (width - text_width3) / 2
draw.text((x3, 230), bottom_text, fill='#fbbf24', font=bottom_font) # Yellow
img.save('Banner.png')
print("[OK] Created Banner.png")
def create_ai_chatbot_logo():
"""Create AI_chatbot_logo.png - AI assistant avatar"""
width, height = 200, 200
img = Image.new('RGBA', (width, height), color=(30, 58, 138, 255)) # Dark blue with transparency
draw = ImageDraw.Draw(img)
# Draw a circle
draw.ellipse([20, 20, 180, 180], fill='#3b82f6', outline='white', width=4)
try:
font = ImageFont.truetype("arial.ttf", 80)
except:
font = ImageFont.load_default()
# Robot emoji
text = "π€"
bbox = draw.textbbox((0, 0), text, font=font)
text_width = bbox[2] - bbox[0]
text_height = bbox[3] - bbox[1]
x = (width - text_width) / 2
y = (height - text_height) / 2
draw.text((x, y), text, font=font)
img.save('AI_chatbot_logo.png')
print("[OK] Created AI_chatbot_logo.png")
if __name__ == "__main__":
print("Creating OmniFlow CX branding images...")
print()
create_logo()
create_banner()
create_ai_chatbot_logo()
print()
print("[SUCCESS] All branding images created successfully!")
print()
print("Images created:")
print(" - Logo.png (400x120) - Main application logo")
print(" - Banner.png (1200x300) - Header banner")
print(" - AI_chatbot_logo.png (200x200) - AI assistant avatar")
print()
print("These are placeholder images. Replace with professional designs for production.")
|