TinyCaptcha
Gem wrapper for tiny captcha in C with no dependencies.
Example
Features
- No dependencies. No ImageMagick. No RMagick;
- Simple, Easy to use;
- High performance.
Usage
Put tinycaptcha in your Gemfile
:
gem 'tinycaptcha'
TinyCaptcha.generate(style, length, strikethrough, outline)
Parameters
```rb
# style - Allows :colorful or :black_white.
# length - length of the generated string. default: 5, allows: [3 - 7]
# strikethrough - enable/disable Strikethrough. true / false
# outline - enable/disable Outline style. true / false
TinyCaptcha.generate(style, word_length, strikethrough, outline)