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

  1. #!/bin/bash
  2. make extracteur
  3. IMGS="foo.fimg"
  4. for idx in $(seq 0 69)
  5. do
  6. outf=$(printf "%s/X%04d.png" "/tmp" $idx)
  7. echo "work on "$outf
  8. x=$(( idx * 4 ))
  9. y=$(( idx + 80 ))
  10. ./extracteur $IMGS 256,128,${x},${y} $outf
  11. error=$?
  12. if [ 0 -ne $error ] ; then
  13. echo error $error
  14. exit 1
  15. fi
  16. echo
  17. done
  18. convert -delay 10 /tmp/X????.png foo.gif