Captcha : corrected a typo
This commit is contained in:
parent
caea62a006
commit
bb6eef4cfa
@ -17,8 +17,6 @@ INPUT=$1
|
||||
|
||||
TRANSFORMATIONS=(INTRUS SOMME)
|
||||
|
||||
FILENAME="/var/tmp/captcha/$(date "+%Y-%m-%d-%H%M").png"
|
||||
|
||||
if test -n ${BASH_VERSION:-''} ; then
|
||||
get_random ()
|
||||
{
|
||||
@ -133,7 +131,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:$FILENAME
|
||||
-flatten -crop 300x60 +repage -quality 500 -depth 11 png:"/var/tmp/captcha/$(date "+%Y-%m-%d-%H%M").png"
|
||||
|
||||
convert -size 300x60 xc:none -pointsize 20 \
|
||||
\( -clone 0 -fill black \
|
||||
|
@ -17,8 +17,6 @@ INPUT=$1
|
||||
|
||||
TRANSFORMATIONS=(INTRUS SOMME)
|
||||
|
||||
FILENAME="/var/tmp/captcha/$(date "+%Y-%m-%d-%H%M").png"
|
||||
|
||||
if test -n ${BASH_VERSION:-''} ; then
|
||||
get_random ()
|
||||
{
|
||||
@ -133,7 +131,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:$FILENAME
|
||||
-flatten -crop 300x60 +repage -quality 500 -depth 11 png:"/var/tmp/captcha/$(date "+%Y-%m-%d-%H%M").png"
|
||||
|
||||
convert -size 300x60 xc:none -pointsize 20 \
|
||||
\( -clone 0 -fill black \
|
||||
|
Loading…
Reference in New Issue
Block a user