From 6d7c2a0afce2ad97b26a49b23cd2676198ca6fff Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 30 Dec 2020 20:19:17 +0100 Subject: [PATCH] More noise for background --- captcha/captcha.sh | 2 +- captcha/experimental.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/captcha/captcha.sh b/captcha/captcha.sh index 5e2fd3b..3abfaf5 100755 --- a/captcha/captcha.sh +++ b/captcha/captcha.sh @@ -105,6 +105,6 @@ convert -size 180x60 xc:none -pointsize 40 \ -wave "$WAVE3_AMPLITUDE"x"$WAVE3_LENGTH" \) \ -distort Perspective "0,0,0,0 0,$RAND_C,0,80 80,0,80,5 80,80,80,55" \ -rotate "+$RAND_D" \ - \( -size 140x60 xc: +noise Random -alpha set -channel A -evaluate set 30% \) \ + \( -size 140x60 xc: +noise Random -alpha set -channel A -evaluate set 40% \) \ -compose add \ -flatten -crop 140x60 +repage -quality 500 -depth 11 png:- diff --git a/captcha/experimental.sh b/captcha/experimental.sh index 5e2fd3b..3abfaf5 100755 --- a/captcha/experimental.sh +++ b/captcha/experimental.sh @@ -105,6 +105,6 @@ convert -size 180x60 xc:none -pointsize 40 \ -wave "$WAVE3_AMPLITUDE"x"$WAVE3_LENGTH" \) \ -distort Perspective "0,0,0,0 0,$RAND_C,0,80 80,0,80,5 80,80,80,55" \ -rotate "+$RAND_D" \ - \( -size 140x60 xc: +noise Random -alpha set -channel A -evaluate set 30% \) \ + \( -size 140x60 xc: +noise Random -alpha set -channel A -evaluate set 40% \) \ -compose add \ -flatten -crop 140x60 +repage -quality 500 -depth 11 png:-