cosmetic again

This commit is contained in:
Tonton Th 2026-01-02 19:07:32 +01:00
parent 75cb2ff594
commit f5b2e1c227

View File

@ -17,8 +17,8 @@ echo "$0 $SEQNAME from $START" >> WS/log
DIMS="-W$Img_Width -H$Img_Height" DIMS="-W$Img_Width -H$Img_Height"
NBFR=" Declare=NbFrames=$NBFRAMES " NBFR=" Declare=NbFrames=$NBFRAMES "
echo $NBFR
POVOPT="+q9 +A0.02 -d ${DIMS} ${NBFR} -WT7" POVOPT="+q9 +A0.02 -d ${DIMS} ${NBFR} -WT7"
echo $NBFR "frames."
echo $POVOPT ; echo ; sleep 2 echo $POVOPT ; echo ; sleep 2
TMPIMG=/dev/shm/${SEQNAME}-tmp.png TMPIMG=/dev/shm/${SEQNAME}-tmp.png
@ -39,16 +39,18 @@ do
continue continue
fi fi
set -e set -e
txt=$(printf "%s %03d" ${SEQNAME} $frame | tr '01' 'ol') sqn=$(echo ${SEQNAME} | tr [a-z] [A-Z])
txt=$(printf "%s %03d" ${sqn} ${frame} | \
tr '01' 'ol')
# echo $frame $img $txt # echo $frame $img $txt
convert ${TMPIMG} \ convert ${TMPIMG} \
-font Courier-Bold \ -font Courier-Bold \
-pointsize 26 \ -pointsize 38 \
-kerning 5 \ -kerning 4 \
-fill ${TEXTCOL} \ -fill ${TEXTCOL} \
-strokewidth 1 -stroke $STROKOL \ -strokewidth 2 -stroke $STROKOL \
-gravity north \ -gravity north \
-annotate +12+5 "$txt" \ -annotate +0+5 "$txt" \
${img} ${img}
fin=$(date +%s) fin=$(date +%s)
echo echo