Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,35 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
SOURCEBASE=$1
|
||||||
|
MAX=$2
|
||||||
|
DELAY=$3
|
||||||
|
SOURCESVG=`printf "%s.svg" $SOURCEBASE`
|
||||||
|
TARGETSVG=`printf "export/%s.png" $SOURCEBASE`
|
||||||
|
|
||||||
|
|
||||||
|
mkdir -p export_tmp
|
||||||
|
rm -f export_tmp/*
|
||||||
|
|
||||||
|
|
||||||
|
counter=1
|
||||||
|
while [ $counter -le $MAX ]
|
||||||
|
do
|
||||||
|
source=`printf "%s%s.svg" $SOURCEBASE $counter`
|
||||||
|
file=`printf "export_tmp/%s.png" $counter`
|
||||||
|
inkscape -z -e $file $source
|
||||||
|
((counter++))
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
declare -a args
|
||||||
|
|
||||||
|
counter=1
|
||||||
|
while [ $counter -le $MAX ]
|
||||||
|
do
|
||||||
|
file=`printf "export_tmp/%s.png" $counter`
|
||||||
|
args+=($file $DELAY)
|
||||||
|
((counter++))
|
||||||
|
done
|
||||||
|
|
||||||
|
apngasm -o $TARGETSVG ${args[@]}
|
||||||
|
rm -f export_tmp/*
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 165 KiB After Width: | Height: | Size: 165 KiB |
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 132 KiB |