Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2016-03-04 21:41:20 +0000
committerStijn Buys <ingar@osirion.org>2016-03-04 21:41:20 +0000
commit51ea0d738bac23e62dae97ddd3a647560d14cc63 (patch)
tree3896e5e77701d6b5f50294ea84e01e6eb1f73ae3 /tools/scripts
parent72104c34b94c7f06627e0bb29b02ccae4fc12de4 (diff)
Added remaining not previously comitted files.
Diffstat (limited to 'tools/scripts')
-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