View Javadoc

1   /*
2    * JCaptcha, the open source java framework for captcha definition and integration
3    * Copyright (c)  2007 jcaptcha.net. All Rights Reserved.
4    * See the LICENSE.txt file distributed with this package.
5    */
6   
7   package com.octo.captcha.component.image.deformation;
8   
9   import java.awt.image.BufferedImage;
10  
11  /***
12   * An image deformation takes an image, deforms it, and returns it.
13   *
14   * @author <a href="mailto:mag@jcaptcha.net">Marc-Antoine Garrigue</a>
15   * @version 1.0
16   */
17  public interface ImageDeformation {
18  
19      /***
20       * Deforms an image
21       *
22       * @param image the image to be deformed
23       *
24       * @return the deformed image
25       */
26      BufferedImage deformImage(BufferedImage image);
27  
28  }