summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/scale.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/scale.sh b/tools/scale.sh
index a54d41e..65e7fe9 100644
--- a/tools/scale.sh
+++ b/tools/scale.sh
@@ -5,14 +5,8 @@ do
echo $F
O=${F/300/75}
- gm convert $F -colorspace RGB -resize 25% -colorspace sRGB $O.tmp
- rm -f $O
- zopflipng -m $O.tmp $O
- rm -f $O.tmp
+ convert $F -colorspace RGB -resize 25% -colorspace sRGB $O
O=${F/300/150}
- gm convert $F -colorspace RGB -resize 50% -colorspace sRGB $O.tmp
- rm -f $O
- zopflipng -m $O.tmp $O
- rm -f $O.tmp
+ convert $F -colorspace RGB -resize 50% -colorspace sRGB $O
done