Package org.jpedal.jbig2.jai
Class JBIG2ImageReader
java.lang.Object
javax.imageio.ImageReader
org.jpedal.jbig2.jai.JBIG2ImageReader
JBIG2ImageReader class.
-
Field Summary
Fields inherited from class javax.imageio.ImageReader
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales
-
Constructor Summary
ModifierConstructorDescriptionprotected
JBIG2ImageReader
(ImageReaderSpi originatingProvider) Constructor for JBIG2ImageReader. -
Method Summary
Modifier and TypeMethodDescriptionint
getHeight
(int imageIndex) getImageMetadata
(int imageIndex) getImageTypes
(int imageIndex) int
getNumImages
(boolean allowSearch) getStreamMetadata.int
getWidth
(int imageIndex) read
(int imageIndex, ImageReadParam param) void
Methods inherited from class javax.imageio.ImageReader
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, dispose, getAspectRatio, getAvailableLocales, getDefaultReadParam, getDestination, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, hasThumbnails, isIgnoringMetadata, isImageTiled, isRandomAccessEasy, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, readAll, readAll, readAsRenderedImage, readerSupportsThumbnails, readRaster, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, reset, setInput, setInput, setLocale
-
Constructor Details
-
JBIG2ImageReader
Constructor for JBIG2ImageReader.
- Parameters:
originatingProvider
- aImageReaderSpi
object.
-
-
Method Details
-
setInput
- Overrides:
setInput
in classImageReader
-
read
- Specified by:
read
in classImageReader
- Throws:
IOException
-
getImageMetadata
- Specified by:
getImageMetadata
in classImageReader
- Throws:
IOException
-
getStreamMetadata
getStreamMetadata.
- Specified by:
getStreamMetadata
in classImageReader
- Returns:
- a
IIOMetadata
object. - Throws:
IOException
- if any.
-
getImageTypes
- Specified by:
getImageTypes
in classImageReader
- Throws:
IOException
-
getNumImages
- Specified by:
getNumImages
in classImageReader
- Throws:
IOException
-
getHeight
- Specified by:
getHeight
in classImageReader
- Throws:
IOException
-
getWidth
- Specified by:
getWidth
in classImageReader
- Throws:
IOException
-