jj.play.ns.nl.captcha.backgrounds.BackgroundProducer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jj-simplecaptcha Show documentation
Show all versions of jj-simplecaptcha Show documentation
SimpleCaptcha - an easy to implement CAPTCHA framework to generate image and audio challenges, for Java 1.5 and Java 6 (repackaged by Play! Framework)
The newest version!
package jj.play.ns.nl.captcha.backgrounds;
import java.awt.image.BufferedImage;
/**
*
* @author James Childers
*
*/
public interface BackgroundProducer {
/**
* Add the background to the given image.
*
* @param image
* @return
*/
public BufferedImage addBackground(BufferedImage image);
public BufferedImage getBackground(int width, int height);
}