logo updated

This commit is contained in:
Shihaam Abdul Rahman 2023-04-15 15:13:10 +05:00
parent d60c040774
commit 42e3ca3610
Signed by untrusted user: shihaam
GPG Key ID: 6DA2E87EBC227636
3 changed files with 16 additions and 10 deletions

View File

@ -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

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