Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: 5127b25b5c9e936312155b38bf219c26128cfba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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