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