diff options
-rwxr-xr-x | assets/images/polyguin.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/assets/images/polyguin.sh b/assets/images/polyguin.sh index 1bf0df4..39daa8a 100755 --- a/assets/images/polyguin.sh +++ b/assets/images/polyguin.sh @@ -108,6 +108,7 @@ apk add graphicsmagick imagemagick; for c in color black white; do for r in x28 x54 x200; do gm convert -trim -density 600 -resize ${r} -background none polyguin_${c}.svg gen_polyguin_${c}_${r}.png; + magick convert -auto-level -brightness-contrast -5x+25 gen_polyguin_${c}_${r}.png gen_polyguin_${c}_${r}.png; chown 1000:1000 gen_polyguin_${c}_${r}.png; done # r done # c @@ -157,11 +158,11 @@ done # c # for r in x28 x54 x200; do # solid black color --> grayscale polyguin - magick convert -colorspace Gray -contrast-stretch 0 gen_polylogo_black_color_${r}.png gen_polylogo_black_mono_${r}.png; + magick convert -colorspace Gray gen_polylogo_black_color_${r}.png gen_polylogo_black_mono_${r}.png; chown 1000:1000 gen_polylogo_black_mono_${r}.png; # solid white color --> grayscale polyguin - magick convert -colorspace Gray -contrast-stretch 0 gen_polylogo_white_color_${r}.png gen_polylogo_white_mono_${r}.png; + magick convert -colorspace Gray gen_polylogo_white_color_${r}.png gen_polylogo_white_mono_${r}.png; chown 1000:1000 gen_polylogo_black_mono_${r}.png; done # r |