Uses of Class
org.miaixz.bus.extra.captcha.GifCaptcha
Packages that use GifCaptcha
-
Uses of GifCaptcha in org.miaixz.bus.extra.captcha
Methods in org.miaixz.bus.extra.captcha that return GifCaptchaModifier and TypeMethodDescriptionstatic GifCaptchaCaptchaKit.ofGifCaptcha(int width, int height) 创建GIF验证码static GifCaptchaCaptchaKit.ofGifCaptcha(int width, int height, int codeCount) 创建GIF验证码static GifCaptchaCaptchaKit.ofGifCaptcha(int width, int height, int codeCount, int thickness, float sizeBaseHeight) 创建圆圈干扰的验证码GifCaptcha.setMaxColor(int maxColor) 设置验证码字符颜色GifCaptcha.setMinColor(int minColor) 设置验证码字符颜色GifCaptcha.setQuality(int quality) 设置图像的颜色量化(转换质量 由GIF规范允许的最大256种颜色)。 低的值(最小值= 1)产生更好的颜色,但处理显著缓慢。 10是默认,并产生良好的颜色而且有以合理的速度。 值更大(大于20)不产生显著的改善速度GifCaptcha.setRepeat(int repeat) 设置GIF帧应该播放的次数。 默认是 0; 0意味着无限循环。 必须在添加的第一个图像之前被调用。