Class CLibImageReader
java.lang.Object
javax.imageio.ImageReader
com.github.jaiimageio.impl.plugins.clib.CLibImageReader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classAnIteratorover a single element. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate longprivate ArrayListprivate intprivate intFields inherited from class ImageReader
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intReturns the index of the image cached in the privatemlibImageinstance variable or -1 if no image is currently cached.private static booleansubBandsMatch(int[] sourceBands, int[] destinationBands) Returns true if and only if both arguments are null or both are non-null and have the same length and content.private static final voidsubsample(Raster src, int subX, int subY, WritableRaster dst) Methods inherited from class ImageReader
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, dispose, getAspectRatio, getAvailableLocales, getDefaultReadParam, getDestination, getFormatName, getHeight, getImageMetadata, getImageMetadata, getImageTypes, getInput, getLocale, getMinIndex, getNumImages, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, hasThumbnails, isIgnoringMetadata, isImageTiled, isRandomAccessEasy, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, read, readAll, readAll, readAsRenderedImage, readerSupportsThumbnails, readRaster, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, reset, setInput, setInput, setInput, setLocale
-
Field Details
-
currIndex
private int currIndex -
highWaterMark
private long highWaterMark -
imageStartPosition
-
numImages
private int numImages -
mlibImageIndex
private int mlibImageIndex
-
-
Constructor Details
-
CLibImageReader
-
-
Method Details
-
subBandsMatch
private static boolean subBandsMatch(int[] sourceBands, int[] destinationBands) Returns true if and only if both arguments are null or both are non-null and have the same length and content. -
subsample
-
getImageIndex
protected int getImageIndex()Returns the index of the image cached in the privatemlibImageinstance variable or -1 if no image is currently cached. -
getStreamMetadata
- Specified by:
getStreamMetadatain classImageReader- Throws:
IOException
-