forked from sartisan/logo
logo updated
This commit is contained in:
parent
d60c040774
commit
42e3ca3610
@ -1,21 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Set the logo text and font
|
||||
logo_text="Sartisan"
|
||||
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="white"
|
||||
background_color="#292929"
|
||||
|
||||
# Generate the logo image using ImageMagick
|
||||
convert -size $image_size \
|
||||
-background $background_color \
|
||||
-fill black \
|
||||
-font $font_path \
|
||||
-pointsize $font_size \
|
||||
-gravity center label:"$logo_text" \
|
||||
-bordercolor $background_color \
|
||||
-border 50 \
|
||||
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
|
||||
|
BIN
output.png
Normal file
BIN
output.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 5.7 KiB |
Loading…
x
Reference in New Issue
Block a user