Open GoogleCodeExporter opened 9 years ago
Hello, did specify any CAPTCHA related settings in your config?
Also, which version of PIL is installed?
from PIL import Image
Image.VERSION
Finally, could you please also try and run 'manage.py test captcha' and report
back the results?
Original comment by mbonetti
on 18 Mar 2011 at 9:38
[deleted comment]
I have PIL 1.1.7
The bug is with the function rotate in image.py but i can not fix it.
The concerned line: charimage = charimage.rotate(random.randrange(
*settings.CAPTCHA_LETTER_ROTATION ), resample=Image.BICUBIC)
Original comment by john.qua...@gmail.com
on 18 Mar 2011 at 10:03
Would you mind testing this against the svn version of simple-captcha?
Original comment by mbonetti
on 18 Mar 2011 at 12:30
Seconded , so still no fix ? Does anyone one knows what's the problem ?
Original comment by phone...@gmail.com
on 12 Jan 2012 at 2:19
You can remove the Antialiasing in the file "image.py" like this:
charimg = charimg.rotate(random.randrange(*(-30, 31)), expand=1) # ,
resample=Image.ANTIALIAS)
Original comment by steph...@actinetwork.com
on 17 Sep 2012 at 2:25
Sorry for duplicate posting, you can resolve with this line:
charimg = charimg.rotate(random.randrange(*(-30, 31)), expand=1,
resample=Image.BICUBIC)
Have fun!
Original comment by steph...@actinetwork.com
on 17 Sep 2012 at 2:34
Original issue reported on code.google.com by
john.qua...@gmail.com
on 18 Mar 2011 at 9:20Attachments: