8000 GitHub - fuzw123/patchca: Simple yet powerful CAPTCHA library written in Java
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fuzw123/patchca

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();

it generate picture like this:
sample

About

Simple yet powerful CAPTCHA library written in Java

Resources

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
licence-gpl.txt
LGPL-3.0
licence-lgpl.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%
0