diff options
Diffstat (limited to 'Swift/resources/icons/create_connecting_icon.sh')
-rwxr-xr-x | Swift/resources/icons/create_connecting_icon.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Swift/resources/icons/create_connecting_icon.sh b/Swift/resources/icons/create_connecting_icon.sh new file mode 100755 index 0000000..940a1df --- /dev/null +++ b/Swift/resources/icons/create_connecting_icon.sh @@ -0,0 +1,16 @@ +set -x + +all_files= +for i in 0 10 20 30 40 50 60 70 80 90 100; do + target=connecting.$i.png + if [[ "$i" != "0" ]]; then + all_files="$all_files $target" + fi + if [[ "$i" != "100" ]]; then + all_files_inv="$target $all_files_inv" + fi + cp online.png $target + mogrify -modulate 100,$i $target +done +convert -delay 8 -background none $all_files $all_files_inv connecting.mng +rm connecting.*.png |