summaryrefslogtreecommitdiffstats
path: root/hyperize.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hyperize.sh')
-rwxr-xr-xhyperize.sh16
1 files changed, 14 insertions, 2 deletions
diff --git a/hyperize.sh b/hyperize.sh
index 8ee4a34..1cbf2c0 100755
--- a/hyperize.sh
+++ b/hyperize.sh
@@ -23,7 +23,7 @@ do
23 wait -n 23 wait -n
24 done 24 done
25 offset=${shakeOffsets[counter-1]} 25 offset=${shakeOffsets[counter-1]}
26 file=`printf "export_tmp/%s.png" $counter` 26 file=`printf "export_tmp/%s_raw.png" $counter`
27 inkscape -z -e $file -a $offset $SOURCESVG & 27 inkscape -z -e $file -a $offset $SOURCESVG &
28 ((counter++)) 28 ((counter++))
29done 29done
@@ -31,6 +31,18 @@ done
31wait -n 31wait -n
32 32
33 33
34counter=1
35while [ $counter -le 75 ]
36do
37 file=`printf "export_tmp/%s.png" $counter`
38 source=`printf "export_tmp/%s_raw.png" $counter`
39 pngquant -o $file $source &
40 ((counter++))
41done
42
43wait -n
44
45
34declare -a args 46declare -a args
35 47
36counter=1 48counter=1
@@ -42,4 +54,4 @@ do
42done 54done
43 55
44apngasm -o $TARGETSVG ${args[@]} 56apngasm -o $TARGETSVG ${args[@]}
45rm -f export_tmp/* 57#rm -f export_tmp/*