FloatImg/Fonderie/essai.sh

25 lines
411 B
Bash
Raw Normal View History

2020-12-03 05:24:54 +11:00
#!/bin/bash
2020-12-09 01:51:07 +11:00
FILTRES="5:6:13 15 2:2 5:9:8 4:25 8:13:13:7 10:1 25:25:25:25 13:14:13"
2020-12-07 14:45:51 +11:00
rm /tmp/fstack*.png
2020-12-03 05:24:54 +11:00
2020-12-05 09:14:44 +11:00
for F in $FILTRES
do
2020-12-03 05:24:54 +11:00
2020-12-07 14:45:51 +11:00
I="/tmp/fstack-"$F".png"
2020-12-09 01:51:07 +11:00
echo ; echo ==== $I
2020-12-05 09:14:44 +11:00
./t -F $F
txt=$(printf "[%-10s]" $F)
2020-12-07 22:52:17 +11:00
convert foo.png -pointsize 24 -kerning 0 \
2020-12-07 14:45:51 +11:00
-fill Gray80 -undercolor Gray20 \
2020-12-05 09:14:44 +11:00
-font Courier-Bold \
2020-12-07 22:52:17 +11:00
-annotate +0+23 "$txt" \
2020-12-05 09:14:44 +11:00
$I
2020-12-03 05:24:54 +11:00
2020-12-05 09:14:44 +11:00
done
2020-12-09 01:51:07 +11:00
exit
2020-12-07 22:52:17 +11:00
convert -delay 100 /tmp/fstack*.png foo.gif