logo/generate_sartisan_logo.sh
Shihaam Abdul Rahman c608e3eddf
Revert "bigger"
This reverts commit 9a5eed99a16c6632be21ed6ff24b0eafbb55be6c.
2023-04-15 15:23:01 +05:00

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