org.mmbase.util.images
Class ImageMagickImageInformer
java.lang.Object
org.mmbase.util.images.ImageMagickImageInformer
- All Implemented Interfaces:
- ImageInformer
public class ImageMagickImageInformer
- extends Object
- implements ImageInformer
Informs about a image using the 'identify' binary of ImageMagick.
- Since:
- MMBase-1.8
- Version:
- $Id: ImageMagickImageInformer.java 38327 2009-09-01 21:14:16Z michiel $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageMagickImageInformer
public ImageMagickImageInformer()
init
public void init(Map<String,String> params)
- Specified by:
init in interface ImageInformer
getDimension
protected Dimension getDimension(File file)
throws IOException
- Throws:
IOException
getDimension
public Dimension getDimension(InputStream input)
throws IOException
- Specified by:
getDimension in interface ImageInformer
- Throws:
IOException
getDimension
public Dimension getDimension(byte[] input)
throws IOException
- Specified by:
getDimension in interface ImageInformer
- Throws:
IOException
main
public static void main(String[] args)
MMBase 2.0-SNAPSHOT - null