1
2
3
4
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 }