From 51ea0d738bac23e62dae97ddd3a647560d14cc63 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 4 Mar 2016 21:41:20 +0000 Subject: Added remaining not previously comitted files. --- tools/scripts/rename-sky-q3.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 tools/scripts/rename-sky-q3.sh (limited to 'tools') 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 -- cgit v1.2.3