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

@@ -1,15 +1,15 @@
#!/bin/bash
set -e ; set -u
source tools/config.sh
source tools/fonctions.sh
SEQNAME="$1"
NBFRAMES=360
echo "Running $0 $SEQNAME" >> WS/log
DIMS="-W1280 -H1024"
DIMS="-W$Img_Width -H$Img_Height"
POVOPT="+q9 +A -d ${DIMS} -WT6"
echo $POVOPT ; echo ; sleep 2
@@ -30,12 +30,12 @@ do
continue
fi
set -e
txt=$(printf "%s %03d" ${SEQNAME} $frame | tr '0' 'o')
txt=$(printf "%s %03d" ${SEQNAME} $frame | tr '01' 'ol')
# echo $frame $img $txt
convert ${TMPIMG} \
-font Courier-Bold \
-pointsize 18 \
-fill Gray80 \
-pointsize 16 \
-fill ${TEXTCOL} \
-gravity south \
-annotate +0+5 "$txt" \
${img}