comparison servlet/src/digilib/image/DocuImage.java @ 463:d76a9e3f1ec9

Servlet version 1.10b - JAIDocuImage loads Flashpix - refactored image detection code into DocuImage - DocuImage has new methods identify() and getSupportedFormats()
author robcast
date Mon, 13 Feb 2006 20:57:18 +0100
parents 03ff7238c9d4
children e758a49258e8
comparison
equal deleted inserted replaced
462:03ff7238c9d4 463:d76a9e3f1ec9
21 package digilib.image; 21 package digilib.image;
22 22
23 import java.awt.Rectangle; 23 import java.awt.Rectangle;
24 import java.io.IOException; 24 import java.io.IOException;
25 import java.io.OutputStream; 25 import java.io.OutputStream;
26 import java.util.Iterator;
26 27
27 import digilib.io.ImageFile; 28 import digilib.io.ImageFile;
28 import digilib.io.FileOpException; 29 import digilib.io.FileOpException;
29 30
30 /** The basic class for the representation of a digilib image. 31 /** The basic class for the representation of a digilib image.
213 /** 214 /**
214 * Check image size and type and store in ImageFile f 215 * Check image size and type and store in ImageFile f
215 */ 216 */
216 public boolean identify(ImageFile imgf) throws IOException; 217 public boolean identify(ImageFile imgf) throws IOException;
217 218
219 /**
220 * Returns a list of supported image formats
221 */
222 public Iterator getSupportedFormats();
223
218 } 224 }