org.mmbase.util.images
Interface ImageInformer

All Known Implementing Classes:
DummyImageInformer, ImageMagickImageInformer, JAIImageInformer

public interface ImageInformer

The ImageInformer interface defines the function getDimension(byte[]), which returns a Dimension object given a certain Image byte array.

Since:
MMBase-1.7.4
Author:
Michiel Meeuwissen

Method Summary
 Dimension getDimension(byte[] input)
           
 Dimension getDimension(InputStream input)
           
 void init(Map<String,String> params)
           
 

Method Detail

init

void init(Map<String,String> params)

getDimension

Dimension getDimension(byte[] input)
                       throws IOException
Throws:
IOException

getDimension

Dimension getDimension(InputStream input)
                       throws IOException
Throws:
IOException
Since:
MMBase-1.9


MMBase 2.0-SNAPSHOT - null