Bibliothèque de traitements d'images en virgule flottante.
http://la.buvette.org/photos/cumul/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
348 B
26 lines
348 B
#!/bin/bash |
|
|
|
make extracteur |
|
|
|
IMGS="foo.fimg" |
|
|
|
for idx in $(seq 0 69) |
|
do |
|
outf=$(printf "%s/X%04d.png" "/tmp" $idx) |
|
echo "work on "$outf |
|
|
|
x=$(( idx * 4 )) |
|
y=$(( idx + 80 )) |
|
|
|
./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 |
|
|
|
|