A simple Python script to generate captcha using ImageMagick.
Run as: python captcha.py or use the function : gen_captcha(save_as_filename_png)
By default, output is stored out.png
Example:
Rotations / Waves can be used, but they make it difficult for the user. Example (with "convert -wave " command):