commit du soir, espoir

This commit is contained in:
tth
2021-05-10 01:15:29 +02:00
parent 5dd2c66beb
commit daeb4c72a7
2 changed files with 26 additions and 9 deletions

View File

@@ -7,12 +7,19 @@ IMGS="foo.fimg"
for idx in $(seq 0 69)
do
outf=$(printf "%s/X%04d.png" "/tmp" $idx)
echo $outf
echo "work on "$outf
x=$(( idx * 4 ))
y=$(( idx + 80 ))
./extracteur $IMGS 320,200,${x},${y} $outf
./extracteur $IMGS 256,128,${x},${y} $outf
error=$?
if [ 0 -ne $error ] ; then
echo error $error
exit 1
fi
echo
done
convert -delay 10 /tmp/X????.png foo.gif