Dmitry Chestnykh
|
50fb09e812
Make sure dotSize is never less than 1.
|
9 years ago |
Dmitry Chestnykh
|
90158fbef4
Generate captcha representations deterministically.
|
10 years ago |
Dmitry Chestnykh
|
26f056818c
Use SipHash-based PRNG for image/audio variations.
|
11 years ago |
Dmitry Chestnykh
|
46413fff73
Fix typo in comment.
|
11 years ago |
Dmitry Chestnykh
|
cede256342
Fix image.WriteTo, properly implementing interface.
|
11 years ago |
Dmitry Chestnykh
|
90a7bd4b43
Fix for Go weekly.2012-01-15.
|
13 years ago |
Dmitry Chestnykh
|
31ad576274
Fix build for Go weekly.2011-10-06.
|
13 years ago |
Dmitry Chestnykh
|
d7cb604d49
Add copyright headers.
|
13 years ago |
Dmitry Chestnykh
|
f0b06e6dfc
image: s/img/m/
|
13 years ago |
Dmitry Chestnykh
|
796c18f35a
image: rename a few variables.
|
13 years ago |
Dmitry Chestnykh
|
c087adeb6a
Remove dependency on uniuri. Add random.go.
|
13 years ago |
Dmitry Chestnykh
|
d6bfb3fd16
image: forgot to use circleCount const in NewImage.
|
13 years ago |
Dmitry Chestnykh
|
0c4201560e
image: use paletted image.
|
13 years ago |
Dmitry Chestnykh
|
5192a06640
image: remove random variations in drawDigit's x,y.
|
13 years ago |
Dmitry Chestnykh
|
de409bf982
image: precalculate dx in distort and strikeThrough.
|
13 years ago |
Dmitry Chestnykh
|
e136731cce
image: fix terminology again.
|
13 years ago |
Dmitry Chestnykh
|
719496cd1b
image: refactor, fix terminology.
|
13 years ago |
Dmitry Chestnykh
|
1b34f643a5
image: new wave distortion, and strike-through.
|
13 years ago |
Dmitry Chestnykh
|
307ecdadf1
image: use font with better resolution.
|
13 years ago |
Dmitry Chestnykh
|
b8bb54f620
image: simplify skew randomization.
|
13 years ago |
Dmitry Chestnykh
|
a9e88462c0
Add notice about Image.WriteTo to BUGS.
|
13 years ago |
Dmitry Chestnykh
|
fe4a597532
Thinner strike-through on captcha image.
|
13 years ago |
Dmitry Chestnykh
|
4572d7de1e
Fix comments, apply gofmt.
|
13 years ago |
Dmitry Chestnykh
|
68d217e79d
Export RandomDigits. Remove NewRandom* functions.
|
13 years ago |
Dmitry Chestnykh
|
c179a205da
Rename "numbers" to "digits" everywhere.
|
13 years ago |
Dmitry Chestnykh
|
797447596c
Replace PNGEncode with WriteTo for Image.
|
13 years ago |
Dmitry Chestnykh
|
5357b20fc9
Rename CaptchaImage -> Image, CaptchaAudio -> Audio.
|
13 years ago |
Dmitry Chestnykh
|
778d34d6f1
image: move border calculation to calculateSizes().
|
13 years ago |
Dmitry Chestnykh
|
452b826a09
Fix comments.
|
13 years ago |
Dmitry Chestnykh
|
b58457629b
Move rand initialization to image.go.
|
13 years ago |