forked from sartisan/logo
28 lines
617 B
Bash
Executable File
28 lines
617 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Set the logo text and font
|
|
logo_text="SARtisan"
|
|
font_path="fonts/Ubuntu-B.ttf" # Replace with the path to your Ubuntu font file
|
|
font_size=72
|
|
font_color="#ffa31a"
|
|
|
|
# Set the logo image size and background color
|
|
image_size="400x400"
|
|
background_color="#292929"
|
|
|
|
# Generate the logo image using ImageMagick
|
|
convert -size $image_size xc:none \
|
|
-fill $background_color \
|
|
-draw "circle 200,200 200,0" \
|
|
-channel A \
|
|
-threshold 50% \
|
|
output.png
|
|
|
|
convert output.png \
|
|
-gravity center \
|
|
-font "$font_path" \
|
|
-fill "$font_color" \
|
|
-pointsize "$font_size" \
|
|
-annotate 0 "$logo_text" \
|
|
sartisan_logo.png
|