开发者

Text to Captcha Image using java

How to convert text to captcha image.

EDIT

i looked at jcaptcha. It creates a random text for a id. But i need a image with the g开发者_开发知识库iven text.


Jcaptcha provides classes to convert a text into image.

sample code:

WordToImage image =  ComposedWordToImage(fontGenerator, background,textPaster);
BufferedImage image = image.getImage("text");

api doc of WordToImage interface

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜