diff --git a/captcha.sh b/captcha.sh index 8800e74..96ada9a 100755 --- a/captcha.sh +++ b/captcha.sh @@ -155,19 +155,6 @@ RMODULE=`seq 0 $(( ${#MODULES[@]} - 1)) | sort -R | head -n 1` eval "${MODULES[RMODULE]}" TEXT="$NEWINPUT" -CHAPRILURI=/var/lib/ejabberd/chapril_captchas/$(date "+%Y-%m-%d-%H%M%S")_${NAME}_${INPUT}.png - -convert -size 300x70 xc:none -pointsize 20 \ - \( -clone 0 -fill black \ - -stroke black -strokewidth 1 \ - -font Helvetica-Narrow -annotate "0x0+0+0" "\n $INSTRUCTIONS1" \ - -font Helvetica-Bold -annotate "0x0+0+22" "\n $TEXT" \ - -font Helvetica-Narrow -annotate "0x0+0+44" "\n $INSTRUCTIONS2" \ - -roll +$ROLL_X+0 \ - -wave "$WAVE1_AMPLITUDE"x"$WAVE1_LENGTH" \ - -roll -$ROLL_X+0 \) \ - -flatten -crop 300x70 +repage -quality 500 \ - -depth 11 png:"$CHAPRILURI" convert -size 300x70 xc:none -pointsize 20 \ \( -clone 0 -fill black \