All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.apiclub.captcha.backgrounds.BackgroundProducer Maven / Gradle / Ivy

The newest version!
package cn.apiclub.captcha.backgrounds;

import java.awt.image.BufferedImage;

/**
 * 
 * @author James Childers
 * 
 */
public interface BackgroundProducer {

    /**
     * Add the background to the given image.
     * 
     * @param image The image onto which the background will be rendered.
     * @return The image with the background rendered.
     */
    public BufferedImage addBackground(BufferedImage image);
    
    public BufferedImage getBackground(int width, int height);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy