aboutsummaryrefslogtreecommitdiff
path: root/src/qt/res/animation/makespinner.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/res/animation/makespinner.sh')
-rwxr-xr-xsrc/qt/res/animation/makespinner.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/qt/res/animation/makespinner.sh b/src/qt/res/animation/makespinner.sh
new file mode 100755
index 0000000000..4fa8dadf86
--- /dev/null
+++ b/src/qt/res/animation/makespinner.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2014-2019 The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+export LC_ALL=C
+FRAMEDIR=$(dirname $0)
+for i in {0..35}
+do
+ frame=$(printf "%03d" $i)
+ angle=$((i * 10))
+ convert $FRAMEDIR/../src/spinner.png -background "rgba(0,0,0,0.0)" -distort SRT $angle $FRAMEDIR/spinner-$frame.png
+done