org.riotfamily.common.image
Class ImageMagickThumbnailer
java.lang.Object
org.riotfamily.common.image.ImageMagickThumbnailer
- All Implemented Interfaces:
- Thumbnailer
public class ImageMagickThumbnailer
- extends Object
- implements Thumbnailer
Thumbnailer that uses ImageMagick.
- Author:
- Felix Gnass [fgnass at neteye dot de]
Method Summary |
void |
renderThumbnail(File source,
File dest,
int width,
int height,
boolean fixedSize,
String backgroundColor)
Renders a thumbnail image of the source file to the specified
destination. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageMagickThumbnailer
public ImageMagickThumbnailer(ImageMagick imageMagick)
renderThumbnail
public void renderThumbnail(File source,
File dest,
int width,
int height,
boolean fixedSize,
String backgroundColor)
throws IOException
- Description copied from interface:
Thumbnailer
- Renders a thumbnail image of the source file to the specified
destination.
- Specified by:
renderThumbnail
in interface Thumbnailer
- Throws:
IOException