Captcha
Introduction
Captcha is a Java library for generating CAPTCHA images. This project is a spiritual successor to Google's Kaptcha, modernised for contemporary development practices.
With Captcha, you can easily generate customisable CAPTCHA images with various distortion effects, noise, and background options to integrate into your Java applications.
Features
- Easy Integration — Simple builder-based API for quick setup and configuration.
- Customisable CAPTCHA Generation — Configure text length, character sets, font styles, and colours.
- Multiple Distortion Effects — Choose from Water Ripple, Fish Eye, and Shadow effects.
- Configurable Noise — Add noise lines with custom colours, or disable noise entirely.
- Gradient Backgrounds — Customisable gradient background colours.
- Clean, Modern Codebase — Well-documented, type-safe, and easy to extend.
Installation
build.gradle.kts
Quick Start
This generates a CAPTCHA image with a 6-character random text and saves it as a PNG file.
License
Captcha is open-source software released under the MIT License.