diff options
-rwxr-xr-x | assets/images/polyguin.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/assets/images/polyguin.sh b/assets/images/polyguin.sh index 0e8ac2b..2861a6b 100755 --- a/assets/images/polyguin.sh +++ b/assets/images/polyguin.sh @@ -173,8 +173,17 @@ done # r # 32x32 is GitLab # Website uses native SVG # -magick convert -background none -resize 32x32 polyguin_color.svg icons/gen_polyguin_color_favicon.ico; +magick convert -background none -gravity center -resize 32x32 -extent 32x32 polyguin_color.svg icons/gen_polyguin_color_favicon.ico; +chown 1000:1000 icons/gen_polyguin_color_favicon.ico; +#--------------------------------------------------------------- +# Other custom outputs. + +## +# GitLab group/project avatar is 96x96 square. MUST be square. +# +magick convert -background none -gravity center -resize 96x96 -extent 96x96 polyguin_color.svg gen_polyguin_color_avatar.png; +chown 1000:1000 gen_polyguin_color_avatar.png; #=============================================================== EOF |