Package digilib.image
Class ImageInfoDocuImage
- java.lang.Object
-
- digilib.image.DocuImageImpl
-
- digilib.image.ImageInfoDocuImage
-
- All Implemented Interfaces:
DocuImage
- Direct Known Subclasses:
ImageLoaderDocuImage
public abstract class ImageInfoDocuImage extends DocuImageImpl
Simple abstract implementation of theDocuImage
interface. Implements only the identify method using the ImageInfo class.- Author:
- casties
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface digilib.image.DocuImage
DocuImage.ColorOp
-
-
Constructor Summary
Constructors Constructor Description ImageInfoDocuImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageInput
identify(ImageInput ii)
Check image size and type and store in ImageInput ii-
Methods inherited from class digilib.image.DocuImageImpl
colorOp, crop, cropAndScale, dispose, enhance, enhanceRGB, getAwtImage, getHacksAsString, getHeight, getHint, getMimetype, getQuality, getSize, getSupportedFormats, getVersion, getWidth, isSubimageSupported, loadImage, loadSubimage, mirror, rotate, scale, setHacks, setHint, setQuality, setReaderClasses, setWriterClasses, writeImage
-
-
-
-
Method Detail
-
identify
public ImageInput identify(ImageInput ii) throws IOException
Description copied from interface:DocuImage
Check image size and type and store in ImageInput ii- Specified by:
identify
in interfaceDocuImage
- Overrides:
identify
in classDocuImageImpl
- Parameters:
ii
- the ImageInput- Returns:
- the ImageInput
- Throws:
IOException
- on error
-
-