last commit for this week

This commit is contained in:
2021-01-10 22:52:33 +01:00
parent ccfe50e838
commit ceefa63d1d
6 changed files with 117 additions and 62 deletions

View File

@@ -3,27 +3,29 @@
# ------------------------------------------------------------
liste_filtres ()
essai_filtres ()
{
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"
FILTRES=$(./t -L | awk 'NR>1 { print $1 }' | sort)
rm /tmp/fstack*.png
SRC=$(ls -rt1 $HOME/Essais/FondageDePlomb/capture/* | tail -1)
for F in $FILTRES
do
I="/tmp/fstack-"$F".png"
echo ; echo ==== $I
./t -F $F
txt=$(printf "[%-10s]" $F)
convert foo.png -pointsize 24 -kerning 0 \
echo ; echo ======== $I
./t -v -i $SRC -F $F -o foo.png
txt=$(printf "( %-10s )" $F)
convert foo.png -pointsize 48 -kerning 0 \
-fill Gray80 -undercolor Gray20 \
-font Courier-Bold \
-annotate +0+23 "$txt" \
-annotate +10+50 "$txt" \
$I
done
convert -delay 100 /tmp/fstack*.png foo.gif
echo ; echo "making gif89a..."
convert -delay 200 /tmp/fstack*.png foo.gif
}
# ------------------------------------------------------------
essai_single ()
@@ -46,6 +48,6 @@ ffmpeg -nostdin \
# ------------------------------------------------------------
# MAIN
essai_single
essai_filtres
# ------------------------------------------------------------