forked from qo-op/G1BILLET
G1 NOTERIB
This commit is contained in:
parent
b3b19a6eec
commit
3d908591fa
@ -228,13 +228,13 @@ if [[ "${STYLE:0:1}" != "_" && "${STYLE:0:1}" != "x" && ${MONTANT} != "___" ]];
|
||||
convert -font 'Liberation-Sans' \
|
||||
-pointsize 40 -fill black -draw 'text 70,50 "'"$XZUID"'"' \
|
||||
-pointsize 150 -fill black -draw 'text 120,380 "'"$MONTANT"'"' \
|
||||
-pointsize 20 -fill black -draw 'text 340,22 "'"${NOTERIB}:ZEN"'"' \
|
||||
-pointsize 20 -fill black -draw 'text 340,22 "'"${NOTERIB}"'"' \
|
||||
-pointsize 25 -fill black -draw 'text 50,440 "'"$BOTTOM"'"' \
|
||||
"${MY_PATH}/tmp/${BILLETNAME}.jpg" "${MY_PATH}/tmp/g1billet/${UNIQID}/${BILLETNAME}.BILLET.jpg"
|
||||
else
|
||||
convert -font 'Liberation-Sans' \
|
||||
-pointsize 35 -fill black -draw 'text 50,56 "'"$XZUID"'"' \
|
||||
-pointsize 22 -fill black -draw 'text 300,26 "'"${NOTERIB}:ZEN"'"' \
|
||||
-pointsize 22 -fill black -draw 'text 300,26 "'"${NOTERIB}"'"' \
|
||||
-pointsize 22 -fill black -draw 'text 50,85 "'"(Secret 1) ${SECRET1}"'"' \
|
||||
-pointsize 22 -fill black -draw 'text 50,105 "'"(Secret 2) $SECRET2"'"' \
|
||||
-pointsize 25 -fill grey -draw 'text 50,440 "'"$BOTTOM"'"' \
|
||||
@ -259,10 +259,10 @@ composite -compose Over -gravity Center -geometry +30+40 \
|
||||
|
||||
# G1PUB QR CODE RIGHT
|
||||
[[ -s ${HOME}/.zen/Astroport.ONE/images/zenticket.png ]] \
|
||||
&& amzqr "${NOTERIB}:ZEN" -l H -p "${HOME}/.zen/Astroport.ONE/images/zenticket.png" -c -n QR.png -d ${MY_PATH}/tmp/g1billet/${UNIQID}/ \
|
||||
&& amzqr "${NOTERIB}" -l H -p "${HOME}/.zen/Astroport.ONE/images/zenticket.png" -c -n QR.png -d ${MY_PATH}/tmp/g1billet/${UNIQID}/ \
|
||||
&& convert ${MY_PATH}/tmp/g1billet/${UNIQID}/QR.png -resize 250 ${MY_PATH}/tmp/g1billet/${UNIQID}/${BILLETNAME}.QR.png \
|
||||
&& rm ${MY_PATH}/tmp/g1billet/${UNIQID}/QR.png \
|
||||
|| qrencode -s 6 -o "${MY_PATH}/tmp/g1billet/${UNIQID}/${BILLETNAME}.QR.png" "$NOTERIB:ZEN"
|
||||
|| qrencode -s 6 -o "${MY_PATH}/tmp/g1billet/${UNIQID}/${BILLETNAME}.QR.png" "$NOTERIB"
|
||||
|
||||
# AJOUT DU G1PUB QRCODE A DROITE DU BILLET
|
||||
composite -compose Over -gravity SouthEast -geometry +35+50 \
|
||||
|
Loading…
Reference in New Issue
Block a user