This class can be used to generate CAPTCHA validation images.
It generates a random validation text and renders it in an image obfuscated with some lines.
The generated image is stored in a given directory and the text is stored in a session variable for posterior validation.