add intertitres

This commit is contained in:
Tonton Th 2025-01-22 19:29:20 +01:00
parent 070679ec5b
commit 05f40fae75

View File

@ -32,13 +32,24 @@ linkfarm ()
{
SRC="frames/$1"
echo "linkfarm $SRC" | tee -a WS/log
local INTER="/dev/shm/tmp-intertitre.png"
tools/plot-timing.sh $1
local NBRE=60
local NBRE=90
convert "WS/negatif.png" \
-gravity north \
-font $FONTE \
-pointsize 96 \
-kerning 6 \
-fill $TEXTCOL \
-strokewidth 2 -stroke $STROKOL \
-annotate +0+390 "$1" \
${INTER}
for foo in $(seq 0 $NBRE)
do
copy_a_file "WS/negatif.png"
copy_a_file $INTER
done
for foo in $(seq 0 $NBRE)
@ -70,14 +81,14 @@ convert -colorspace gray -colors 27 $SRC $GRAY
for foo in $(seq 0 $NBRE)
do
Ypos=$(( -175 + foo ))
convert ${GRAY} \
convert ${GRAY} \
-gravity north \
-font $FONTE \
-pointsize 172 \
-kerning 6 \
-fill $TEXTCOL \
-strokewidth 3 -stroke $STROKOL \
-annotate +0+${Ypos} "HexaCone" \
-annotate +0+${Ypos} "HexaCones" \
${TMP}
# identify ${TMP}
copy_a_file ${TMP}