add intertitres
This commit is contained in:
parent
070679ec5b
commit
05f40fae75
@ -32,13 +32,24 @@ linkfarm ()
|
|||||||
{
|
{
|
||||||
SRC="frames/$1"
|
SRC="frames/$1"
|
||||||
echo "linkfarm $SRC" | tee -a WS/log
|
echo "linkfarm $SRC" | tee -a WS/log
|
||||||
|
|
||||||
|
local INTER="/dev/shm/tmp-intertitre.png"
|
||||||
tools/plot-timing.sh $1
|
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)
|
for foo in $(seq 0 $NBRE)
|
||||||
do
|
do
|
||||||
copy_a_file "WS/negatif.png"
|
copy_a_file $INTER
|
||||||
done
|
done
|
||||||
|
|
||||||
for foo in $(seq 0 $NBRE)
|
for foo in $(seq 0 $NBRE)
|
||||||
@ -70,14 +81,14 @@ convert -colorspace gray -colors 27 $SRC $GRAY
|
|||||||
for foo in $(seq 0 $NBRE)
|
for foo in $(seq 0 $NBRE)
|
||||||
do
|
do
|
||||||
Ypos=$(( -175 + foo ))
|
Ypos=$(( -175 + foo ))
|
||||||
convert ${GRAY} \
|
convert ${GRAY} \
|
||||||
-gravity north \
|
-gravity north \
|
||||||
-font $FONTE \
|
-font $FONTE \
|
||||||
-pointsize 172 \
|
-pointsize 172 \
|
||||||
-kerning 6 \
|
-kerning 6 \
|
||||||
-fill $TEXTCOL \
|
-fill $TEXTCOL \
|
||||||
-strokewidth 3 -stroke $STROKOL \
|
-strokewidth 3 -stroke $STROKOL \
|
||||||
-annotate +0+${Ypos} "HexaCone" \
|
-annotate +0+${Ypos} "HexaCones" \
|
||||||
${TMP}
|
${TMP}
|
||||||
# identify ${TMP}
|
# identify ${TMP}
|
||||||
copy_a_file ${TMP}
|
copy_a_file ${TMP}
|
||||||
|
Loading…
Reference in New Issue
Block a user