From PIL import Image, ImageDraw, ImageFont # Create a new image with a dark bl
![from PIL import Image, ImageDraw, ImageFont
# Create a new image with a dark blue background
width, height = 800, 200
background_color = (0, 51, 102) # Dark blue
image = Image.new('RGB', (width, height), background_color)
# Draw the text
draw = ImageDraw.Draw(image)
text = "amalfino swiftie"
font_path = "/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf" # Adjust if necessary
font_size = 72
font = ImageFont.truetype(font_path, font_size)
# Calculate text size and position
text_width, text_height = draw.textsize(text, font=font)
text_x = (width - text_width) // 2
text_y = (height - text_height) // 2
# Draw the text with a gold color
text_color = (205, 173, 0) # Gold
draw.text((text_x, text_y), text, font=font, fill=text_color)
# Draw the border
border_color = text_color
border_thickness = 5
draw.rectangle(
[(border_thickness, border_thickness), (width - border_thickness, height - border_thickness)],
outline=border_color,
width=border_thickness
)
# Save the image
output_path = "/mnt/data/amalfino_swiftie_logo.png"
image.save(output_path)
output_path](https://image.cdn2.seaart.me/2025-01-13/cu2bl85e878c73bfluvg-3/9b358a84b0faee9ee8c7ce617aed9c16_high.webp)
Prompts
Copy
from PIL import Image
,
ImageDraw
,
ImageFont
# Create a new image with a dark blue background
width
,
height = 800
,
200
background_color = (0
,
51
,
102) # Dark blue
image = Image
.
new('RGB'
,
(width
,
height)
,
background_color)
# Draw the text
draw = ImageDraw
.
Draw(image)
text = "amalfino swiftie"
font_path = "/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold
.
ttf" # Adjust if necessary
font_size = 72
font = ImageFont
.
truetype(font_path
,
font_size)
# Calculate text size and position
text_width
,
text_height = draw
.
textsize(text
,
font=font)
text_x = (width - text_width) // 2
text_y = (height - text_height) // 2
# Draw the text with a gold color
text_color = (205
,
173
,
0) # Gold
draw
.
text((text_x
,
text_y)
,
text
,
font=font
,
fill=text_color)
# Draw the border
border_color = text_color
border_thickness = 5
draw
.
rectangle(
[(border_thickness
,
border_thickness)
,
(width - border_thickness
,
height - border_thickness)]
,
outline=border_color
,
width=border_thickness
)
# Save the image
output_path = "/mnt/data/amalfino_swiftie_logo
.
png"
image
.
save(output_path)
output_path
INFO
Checkpoint & LoRA

Checkpoint
epiCRealism
#Realistic
#Photography
0 comment
0
0
0