a lot a better things

This commit is contained in:
Tonton Th
2025-01-26 19:32:18 +01:00
parent 9962480356
commit b344d0b762
4 changed files with 37 additions and 21 deletions

View File

@@ -2,13 +2,13 @@
set -e ; set -u
source tools/config.sh
IDX=0
SPOOL="frames/Spool"
SEQNAME="none"
TMP="WS/tmp.png"
FONTE="Helvetica-Bold"
TEXTCOL="yellow"
STROKOL="darkblue"
source tools/fonctions.sh
@@ -72,7 +72,7 @@ faire_le_titre ()
{
echo "faire le titre"
local NBRE=240
local NBRE=280
local SRC="frames/passage/00099.png"
local GRAY="/dev/shm/tmp-titre.png"
@@ -84,7 +84,7 @@ do
convert ${GRAY} \
-gravity north \
-font $FONTE \
-pointsize 172 \
-pointsize 146 \
-kerning 6 \
-fill $TEXTCOL \
-strokewidth 3 -stroke $STROKOL \
@@ -103,10 +103,14 @@ local NBRE=180
datetime=$(LANG=fr date -u +"%Y/%m/%d")
echo $datetime | tee -a WS/log
local SRC="frames/escadrille/00299.png"
local GRAY="/dev/shm/tmp-titre.png"
convert -colorspace gray -colors 27 $SRC $GRAY
for foo in $(seq 0 $NBRE)
do
Ypos=$(( foo + 20 ))
convert "WS/negatif.png" \
convert ${GRAY} \
-gravity north \
-font $FONTE \
-pointsize 86 \
@@ -118,7 +122,7 @@ do
-pointsize 48 \
-strokewidth 1 \
-gravity south \
-annotate +0+170 "${datetime}" \
-annotate +0+140 "${datetime}" \
${TMP}
# identify ${TMP}
copy_a_file ${TMP}
@@ -132,7 +136,6 @@ figlet "Link farmer"
rm -f frames/Spool/*.png
# tools/plot-timing.sh
faire_le_titre
linkfarm hexabenz