KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > util > images > ImageInformer


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.util.images;
11
12 import java.util.Map JavaDoc;
13
14
15 /**
16  * The ImageInformer interface defines the function {@link #getDimension}, which returns a {@link
17  * Dimension} object given a certain Image byte array.
18  *
19  * @author Michiel Meeuwissen
20  * @since MMBase-1.7.4
21  */

22
23
24 public interface ImageInformer {
25
26     void init(Map JavaDoc params);
27
28     Dimension getDimension(byte[] input) throws java.io.IOException JavaDoc;
29
30 }
31
Popular Tags