testing filter chain
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user