summaryrefslogtreecommitdiffstats
path: root/animate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'animate.sh')
-rwxr-xr-xanimate.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/animate.sh b/animate.sh
index 8d8afda..2bc4538 100755
--- a/animate.sh
+++ b/animate.sh
@@ -15,8 +15,10 @@ counter=1
15while [ $counter -le $MAX ] 15while [ $counter -le $MAX ]
16do 16do
17 source=`printf "%s%s.svg" $SOURCEBASE $counter` 17 source=`printf "%s%s.svg" $SOURCEBASE $counter`
18 file=`printf "export_tmp/%s.png" $counter` 18 file=`printf "export_tmp/%s_raw.png" $counter`
19 filecomp=`printf "export_tmp/%s.png" $counter`
19 inkscape -z -e $file $source 20 inkscape -z -e $file $source
21 pngquant -o $filecomp $file
20 ((counter++)) 22 ((counter++))
21done 23done
22 24
@@ -32,4 +34,4 @@ do
32done 34done
33 35
34apngasm -o $TARGETSVG ${args[@]} 36apngasm -o $TARGETSVG ${args[@]}
35rm -f export_tmp/* 37#rm -f export_tmp/*