mirror of
https://github.com/whvcse/EasyCaptcha.git
synced 2024-11-14 21:59:19 +08:00
增加验证码类型设置功能(纯数字、纯字母)
This commit is contained in:
parent
71e73ee516
commit
fda509dfe3
@ -182,7 +182,7 @@ public class Test {
|
||||
public class Test {
|
||||
|
||||
public static void main(String[] args) {
|
||||
OutputStream outputStream = new FileOutputStream(new File("D:/a/aa.gif"));
|
||||
OutputStream outputStream = new FileOutputStream(new File("D:/a/aa.png"));
|
||||
|
||||
// 三个参数分别为宽、高、位数
|
||||
SpecCaptcha specCaptcha = new SpecCaptcha(130, 48, 5);
|
||||
|
Loading…
Reference in New Issue
Block a user