So I've been working on this captcha algorithm recently, and I have a pretty good feeling about it. Unfortunately, I haven't yet had the time to set up a proper testing environment (eg: OCR analyzers and such), but my gut feeling is that it should be sufficiently secure against attacks.

Below, I've attached two sample output files (the input file used a black font over a white background). Notice that in the first one (using the default settings) the smaller fonts are fairly hard to read. In that case, the parameters can be tweaked to sharpen the image (the second snapshot). The image can also be blurred, if necessary.

Anyway, what do you guys think? Will it work?

.....