pusuo / Patchca
Licence: other
Simple yet powerful CAPTCHA library written in Java
Stars: ✭ 250
Programming Languages
java
68154 projects - #9 most used programming language
Patchca: verification code library for Java
Overview
Simple yet powerful verification code library written in Java with zero dependency.
You can generate verification code picture like this:
ConfigurableCaptchaService cs = new ConfigurableCaptchaService();
cs.setColorFactory(new SingleColorFactory(new Color(25, 60, 170)));
cs.setFilterFactory(new CurvesRippleFilterFactory(cs.getColorFactory()));
FileOutputStream fos = new FileOutputStream("patcha_demo.png");
EncoderHelper.getChallangeAndWriteImage(cs, "png", fos);
fos.close();
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].