forked from sartisan/logo
logo updated
This commit is contained in:
parent
d60c040774
commit
42e3ca3610
@ -1,21 +1,27 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Set the logo text and font
|
# 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_path="fonts/Ubuntu-B.ttf" # Replace with the path to your Ubuntu font file
|
||||||
font_size=72
|
font_size=72
|
||||||
|
font_color="#ffa31a"
|
||||||
|
|
||||||
# Set the logo image size and background color
|
# Set the logo image size and background color
|
||||||
image_size="400x400"
|
image_size="400x400"
|
||||||
background_color="white"
|
background_color="#292929"
|
||||||
|
|
||||||
# Generate the logo image using ImageMagick
|
# Generate the logo image using ImageMagick
|
||||||
convert -size $image_size \
|
convert -size $image_size xc:none \
|
||||||
-background $background_color \
|
-fill $background_color \
|
||||||
-fill black \
|
-draw "circle 200,200 200,0" \
|
||||||
-font $font_path \
|
-channel A \
|
||||||
-pointsize $font_size \
|
-threshold 50% \
|
||||||
-gravity center label:"$logo_text" \
|
output.png
|
||||||
-bordercolor $background_color \
|
|
||||||
-border 50 \
|
convert output.png \
|
||||||
|
-gravity center \
|
||||||
|
-font "$font_path" \
|
||||||
|
-fill "$font_color" \
|
||||||
|
-pointsize "$font_size" \
|
||||||
|
-annotate 0 "$logo_text" \
|
||||||
sartisan_logo.png
|
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