all repos — captcha @ cbab3d068b304747e3c6444c8c80b2a87c5a0a9c

Go package captcha implements generation and verification of image and audio CAPTCHAs.

cmd: use standard width and height for image.
Dmitry Chestnykh dmitry@codingrobots.com
Thu, 21 Apr 2011 17:53:34 +0200
commit

cbab3d068b304747e3c6444c8c80b2a87c5a0a9c

parent

01012728403bd41ed7ecf55aca32d459dada2eb6

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M cmd/main.gocmd/main.go

@@ -6,6 +6,6 @@ "os"

) func main() { - img, _ := captcha.NewRandomImage(230, 60) + img, _ := captcha.NewRandomImage(captcha.StdWidth, captcha.StdHeight) img.PNGEncode(os.Stdout) }