23
2
Fork 0

Change naming convention of saved captchas. Better natural sorting.

This commit is contained in:
pitchum 2021-01-09 12:30:45 +01:00 committed by root
parent 1e774e4076
commit e5eed115a4
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ convert -size 300x60 xc:none -pointsize 20 \
-roll +$ROLL_X+0 \
-wave "$WAVE1_AMPLITUDE"x"$WAVE1_LENGTH" \
-roll -$ROLL_X+0 \) \
-flatten -crop 300x60 +repage -quality 500 -depth 11 png:"/var/lib/ejabberd/chapril_captchas/${INPUT}_$(date "+%Y-%m-%d-%H%M%S").png"
-flatten -crop 300x60 +repage -quality 500 -depth 11 png:"/var/lib/ejabberd/chapril_captchas/$(date "+%Y-%m-%d-%H%M%S")_${INPUT}.png"
convert -size 300x60 xc:none -pointsize 20 \
\( -clone 0 -fill black \

View File

@ -132,7 +132,7 @@ convert -size 300x60 xc:none -pointsize 20 \
-roll +$ROLL_X+0 \
-wave "$WAVE1_AMPLITUDE"x"$WAVE1_LENGTH" \
-roll -$ROLL_X+0 \) \
-flatten -crop 300x60 +repage -quality 500 -depth 11 png:"/var/lib/ejabberd/chapril_captchas/EXPERIMENTAL${INPUT}_$(date "+%Y-%m-%d-%H%M%S").png"
-flatten -crop 300x60 +repage -quality 500 -depth 11 png:"/var/lib/ejabberd/chapril_captchas/EXPERIMENTAL_$(date "+%Y-%m-%d-%H%M%S")_{INPUT}.png"
convert -size 300x60 xc:none -pointsize 20 \
\( -clone 0 -fill black \