diff options
Diffstat (limited to 'animate.sh')
-rwxr-xr-x | animate.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -15,8 +15,10 @@ counter=1 | |||
15 | while [ $counter -le $MAX ] | 15 | while [ $counter -le $MAX ] |
16 | do | 16 | do |
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++)) |
21 | done | 23 | done |
22 | 24 | ||
@@ -32,4 +34,4 @@ do | |||
32 | done | 34 | done |
33 | 35 | ||
34 | apngasm -o $TARGETSVG ${args[@]} | 36 | apngasm -o $TARGETSVG ${args[@]} |
35 | rm -f export_tmp/* | 37 | #rm -f export_tmp/* |