cx_ai_agent_v1 / create_branding_images.py
muzakkirhussain011's picture
Add application files (text files only)
8bab08d
"""
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.")