This commit is contained in:
fred 2024-07-10 17:01:11 +02:00
parent 8dcebcc59b
commit 7c9f00c6bd

View File

@ -223,18 +223,18 @@ composite -compose Over -dissolve 70% \
if [[ "${STYLE:0:1}" != "_" && "${STYLE:0:1}" != "x" && ${MONTANT} != "___" ]]; then if [[ "${STYLE:0:1}" != "_" && "${STYLE:0:1}" != "x" && ${MONTANT} != "___" ]]; then
convert -font 'Liberation-Sans' \ convert -font 'Liberation-Sans' \
-pointsize 40 -fill black -draw 'text 70,50 "'"$XZUID"'"' \ -pointsize 40 -fill black -draw 'text 120,50 "'"$XZUID"'"' \
-pointsize 150 -fill black -draw 'text 120,380 "'"$MONTANT"'"' \ -pointsize 150 -fill black -draw 'text 120,380 "'"$MONTANT"'"' \
-pointsize 20 -fill black -draw 'text 70,85 "'"${NOTERIB}"'"' \ -pointsize 20 -fill black -draw 'text 100,85 "'"${NOTERIB}"'"' \
-pointsize 25 -fill black -draw 'text 50,440 "'"$BOTTOM"'"' \ -pointsize 25 -fill black -draw 'text 50,440 "'"$BOTTOM"'"' \
"${MY_PATH}/tmp/${BILLETNAME}.jpg" "${MY_PATH}/tmp/g1billet/${UNIQID}/${BILLETNAME}.BILLET.jpg" "${MY_PATH}/tmp/${BILLETNAME}.jpg" "${MY_PATH}/tmp/g1billet/${UNIQID}/${BILLETNAME}.BILLET.jpg"
else else
convert -font 'Liberation-Sans' \ convert -font 'Liberation-Sans' \
-pointsize 35 -fill black -draw 'text 60,56 "'"$XZUID"'"' \ -pointsize 35 -fill black -draw 'text 120,56 "'"$XZUID"'"' \
-pointsize 22 -fill black -draw 'text 70,85 "'"${NOTERIB}"'"' \ -pointsize 22 -fill black -draw 'text 120,85 "'"${NOTERIB}"'"' \
-pointsize 25 -fill grey -draw 'text 50,440 "'"$BOTTOM"'"' \
-pointsize 18 -fill black -annotate 90x90+30+20 "${SECRET1}" \ -pointsize 18 -fill black -annotate 90x90+30+20 "${SECRET1}" \
-pointsize 18 -fill black -annotate 90x90+10+20 "$SECRET2" \ -pointsize 18 -fill black -annotate 90x90+10+20 "$SECRET2" \
-pointsize 25 -fill grey -draw 'text 50,440 "'"$BOTTOM"'"' \
"${MY_PATH}/tmp/${BILLETNAME}.jpg" "${MY_PATH}/tmp/g1billet/${UNIQID}/${BILLETNAME}.BILLET.jpg" "${MY_PATH}/tmp/${BILLETNAME}.jpg" "${MY_PATH}/tmp/g1billet/${UNIQID}/${BILLETNAME}.BILLET.jpg"
fi fi