org.riotfamily.common.image
Class ImageMagickCropper
java.lang.Object
org.riotfamily.common.image.ImageMagickCropper
- All Implemented Interfaces:
- ImageCropper
public class ImageMagickCropper
- extends Object
- implements ImageCropper
- Author:
- Felix Gnass [fgnass at neteye dot de]
Method Summary |
void |
cropImage(File source,
File dest,
int width,
int height,
int x,
int y,
int scaledWidth)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageMagickCropper
public ImageMagickCropper(ImageMagick imageMagick)
cropImage
public void cropImage(File source,
File dest,
int width,
int height,
int x,
int y,
int scaledWidth)
throws IOException
- Specified by:
cropImage
in interface ImageCropper
- Throws:
IOException