CaptchaMaker is a project mainly written in Ruby, based on the Apache-2.0 license.
A pure ruby way to create png-based captchas, plus an implementation of a simple math based captcha..
Copyright 2011 robert tomb (bikeonastick)
License:
This project is licensed under the Licensed under the Apache License, Version 2.0. See LICENSE in this directory or http://www.apache.org/licenses/LICENSE-2.0 for a copy of the license.
Info: This uses font characters you define in png files in a font library. This gem comes with a limited set of characters 0-9, +, /, *, and - in a courier font. This can be overridden if you create a font library using the convention described below.
CaptchaFontLib Conventions: When instantiating a font lib you specify a font name and a path to the lib. The path to the lib represents a directory above the directory that contains your font, e.g., if your font is FooSans, your dir structure would look like this:
~/myFonts/
FooSans/
...
cm_49.png
cm_50.png
cm51.png
...
Your library would also contain png files for each character to be used and would be named with cm