summaryrefslogtreecommitdiff
path: root/tools/scale.sh
blob: bc7b44bca611bc985f8a23901955104a76649613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
mkdir -p output75
mkdir -p output150
for F in output300/*.png
do
	echo $F

	O=${F/300/75}
	convert $F -colorspace RGB -resize 25% -colorspace sRGB $O

	O=${F/300/150}
	convert $F -colorspace RGB -resize 50% -colorspace sRGB $O
done

mkdir -p service75
mkdir -p service150
for F in service300/*.png
do
	echo $F

	O=${F/300/75}
	convert $F -colorspace RGB -resize 25% -colorspace sRGB $O

	O=${F/300/150}
	convert $F -colorspace RGB -resize 50% -colorspace sRGB $O
done