testing filter chain

This commit is contained in:
2020-12-04 23:14:44 +01:00
parent 8009acc0d1
commit d5ccf30dcc
2 changed files with 19 additions and 12 deletions

View File

@@ -1,16 +1,25 @@
#!/bin/bash
OUTF='/tmp/out_a*.png'
FILTRES="5:6:13 2 5:6:8 4:25 8:13:13:7 10:1 25:25:25"
rm $OUTF
for F in $FILTRES
do
make t && ./t
I="/tmp/fstack"$F".png"
echo ; echo $I
./t -F $F
txt=$(printf "[%-10s]" $F)
convert foo.png -pointsize 32 -kerning 0 \
-fill Orange -undercolor Gray20 \
-font Courier-Bold \
-annotate +20+40 "$txt" \
$I
done
convert -delay 100 /tmp/fstack*.png foo.gif
A_PART=$(ls -1 $OUTF)
Z_PART=$(ls -r1 $OUTF)
convert -delay 10 ${A_PART} ${Z_PART} foo.gif