2019-11-13 05:31:00 +11:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-11-15 00:23:12 +11:00
|
|
|
|
|
|
|
grabvidseq -s 960x720 -n 60 -p 0.5 -vv -o original.fimg
|
|
|
|
|
2019-11-13 05:31:00 +11:00
|
|
|
make t && ./t
|
|
|
|
|
2019-11-15 00:23:12 +11:00
|
|
|
for picz in original power2 squareroot cos_01
|
2019-11-13 05:31:00 +11:00
|
|
|
do
|
|
|
|
|
2019-11-15 00:23:12 +11:00
|
|
|
echo _______________ ${picz}
|
|
|
|
|
|
|
|
# ../tools/fimgstats -v ${picz}.fimg
|
2019-11-13 05:31:00 +11:00
|
|
|
../tools/fimg2pnm -v ${picz}.fimg ${picz}.pnm
|
|
|
|
|
|
|
|
convert -pointsize 36 \
|
|
|
|
-fill white -annotate +10+28 "${picz}" \
|
|
|
|
-fill black -annotate +12+30 "${picz}" \
|
|
|
|
${picz}.pnm ${picz}.png
|
|
|
|
|
2019-11-15 00:23:12 +11:00
|
|
|
rm ${picz}.pnm
|
|
|
|
|
2019-11-13 05:31:00 +11:00
|
|
|
done
|
|
|
|
|
2019-11-15 00:23:12 +11:00
|
|
|
convert -delay 150 *.png foo.gif
|
2019-11-13 05:31:00 +11:00
|
|
|
|