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 given 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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.