FloatImg4PythonBinding/experiment/essai.sh

20 lines
260 B
Bash
Executable File

#!/bin/bash
make extracteur
IMGS="foo.fimg"
for idx in $(seq 0 69)
do
outf=$(printf "%s/X%04d.png" "/tmp" $idx)
echo $outf
x=$(( idx * 4 ))
y=$(( idx + 80 ))
./extracteur $IMGS 320,200,${x},${y} $outf
done
convert -delay 10 /tmp/X????.png foo.gif