rustdesk/res/gen_icon.sh

9 lines
334 B
Bash
Raw Normal View History

#!/bin/bash
for size in 16 32 64 128 256 512 1024; do
#inkscape -z -o $size.png -w $size -h $size icon.svg >/dev/null 2>/dev/null
convert icon.png -resize ${size}x${size} app_icon_$size.png
done
2022-12-26 00:23:03 +08:00
# from ImageMagick
2024-03-07 17:00:32 +08:00
convert 16.png 32.png 48.png 128.png 256.png -colors 256 icon.ico
#/bin/rm 16.png 32.png 48.png 128.png 256.png