Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/scripts/rename-sky-q3.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/scripts/rename-sky-q3.sh b/tools/scripts/rename-sky-q3.sh
new file mode 100755
index 0000000..5127b25
--- /dev/null
+++ b/tools/scripts/rename-sky-q3.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+sky="$1"
+
+convert_defaults="-quality 92"
+
+convert ${sky}_back6.png ${convert_defaults} ${sky}_bk.jpg
+
+# rotate 90 C
+convert ${sky}_bottom4.png ${convert_defaults} -rotate 90 ${sky}_dn.jpg
+
+convert ${sky}_front5.png ${convert_defaults} ${sky}_ft.jpg
+
+convert ${sky}_left2.png ${convert_defaults} ${sky}_rt.jpg
+
+convert ${sky}_right1.png ${convert_defaults} ${sky}_lf.jpg
+
+# rotate 90 CC
+convert ${sky}_top3.png ${convert_defaults} -rotate 270 ${sky}_up.jpg
+
+# create thumbnail
+convert ${sky}_top3.png ${convert_defaults} -scale 256 ${sky}.jpg