Package digilib.image
Class ImageInfoDocuImage
java.lang.Object
digilib.image.DocuImageImpl
digilib.image.ImageInfoDocuImage
- All Implemented Interfaces:
DocuImage
- Direct Known Subclasses:
ImageLoaderDocuImage
Simple abstract implementation of the
DocuImage 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 -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidentify(ImageInput ii) Check image size and type and store in ImageInput iiMethods 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
-
Constructor Details
-
ImageInfoDocuImage
public ImageInfoDocuImage()
-
-
Method Details
-
identify
Description copied from interface:DocuImageCheck image size and type and store in ImageInput ii- Specified by:
identifyin interfaceDocuImage- Overrides:
identifyin classDocuImageImpl- Parameters:
ii- the ImageInput- Returns:
- the ImageInput
- Throws:
IOException- on error
-