org.mmbase.util.images
Class JAIImageInformer

java.lang.Object
  extended by org.mmbase.util.images.JAIImageInformer
All Implemented Interfaces:
ImageInformer

public class JAIImageInformer
extends Object
implements ImageInformer

Informs about a image using JAI.

Since:
MMBase-1.8
Version:
$Id: JAIImageInformer.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Michiel Meeuwissen

Constructor Summary
JAIImageInformer()
           
 
Method Summary
 Dimension getDimension(byte[] input)
           
 Dimension getDimension(InputStream input)
           
 void init(Map<String,String> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAIImageInformer

public JAIImageInformer()
Method Detail

init

public void init(Map<String,String> params)
Specified by:
init in interface ImageInformer

getDimension

public Dimension getDimension(byte[] input)
                       throws IOException
Specified by:
getDimension in interface ImageInformer
Throws:
IOException

getDimension

public Dimension getDimension(InputStream input)
Specified by:
getDimension in interface ImageInformer


MMBase 2.0-SNAPSHOT - null