public class TIFFImageReader extends ImageReader
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales
Constructor and Description |
---|
TIFFImageReader(ImageReaderSpi originatingProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
canReadRaster() |
ImageReadParam |
getDefaultReadParam() |
protected static BufferedImage |
getDestination(ImageReadParam param,
Iterator imageTypes,
int width,
int height) |
int |
getHeight(int imageIndex) |
IIOMetadata |
getImageMetadata(int imageIndex) |
Iterator |
getImageTypes(int imageIndex) |
int |
getNumImages(boolean allowSearch) |
int |
getNumThumbnails(int imageIndex) |
IIOMetadata |
getStreamMetadata() |
IIOMetadata |
getStreamMetadata(int imageIndex) |
int |
getTileHeight(int imageIndex) |
int |
getTileWidth(int imageIndex) |
int |
getWidth(int imageIndex) |
boolean |
hasThumbnails(int imageIndex) |
boolean |
isImageTiled(int imageIndex) |
boolean |
isRandomAccessEasy(int imageIndex) |
BufferedImage |
read(int imageIndex,
ImageReadParam param) |
RenderedImage |
readAsRenderedImage(int imageIndex,
ImageReadParam param) |
Raster |
readRaster(int imageIndex,
ImageReadParam param) |
boolean |
readSupportsThumbnails() |
BufferedImage |
readTile(int imageIndex,
int tileX,
int tileY) |
void |
reset() |
protected void |
resetLocal() |
void |
setInput(Object input,
boolean seekForwardOnly,
boolean ignoreMetadata) |
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, checkReadParamBandSettings, clearAbortRequest, computeRegions, dispose, getAspectRatio, getAvailableLocales, getDestination, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, isIgnoringMetadata, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, readAll, readAll, readerSupportsThumbnails, readThumbnail, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, setInput, setInput, setLocale
public TIFFImageReader(ImageReaderSpi originatingProvider)
public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata)
setInput
in class ImageReader
public int getNumImages(boolean allowSearch) throws IOException
getNumImages
in class ImageReader
IOException
public IIOMetadata getStreamMetadata() throws IIOException
getStreamMetadata
in class ImageReader
IIOException
public int getWidth(int imageIndex) throws IOException
getWidth
in class ImageReader
IOException
public int getHeight(int imageIndex) throws IOException
getHeight
in class ImageReader
IOException
public Iterator getImageTypes(int imageIndex) throws IIOException
getImageTypes
in class ImageReader
IIOException
public IIOMetadata getImageMetadata(int imageIndex) throws IIOException
getImageMetadata
in class ImageReader
IIOException
public IIOMetadata getStreamMetadata(int imageIndex) throws IIOException
IIOException
public boolean isRandomAccessEasy(int imageIndex) throws IOException
isRandomAccessEasy
in class ImageReader
IOException
public boolean readSupportsThumbnails()
public boolean hasThumbnails(int imageIndex)
hasThumbnails
in class ImageReader
public int getNumThumbnails(int imageIndex) throws IOException
getNumThumbnails
in class ImageReader
IOException
public ImageReadParam getDefaultReadParam()
getDefaultReadParam
in class ImageReader
public boolean isImageTiled(int imageIndex) throws IOException
isImageTiled
in class ImageReader
IOException
public int getTileWidth(int imageIndex) throws IOException
getTileWidth
in class ImageReader
IOException
public int getTileHeight(int imageIndex) throws IOException
getTileHeight
in class ImageReader
IOException
public BufferedImage readTile(int imageIndex, int tileX, int tileY) throws IOException
readTile
in class ImageReader
IOException
public boolean canReadRaster()
canReadRaster
in class ImageReader
public Raster readRaster(int imageIndex, ImageReadParam param) throws IOException
readRaster
in class ImageReader
IOException
public RenderedImage readAsRenderedImage(int imageIndex, ImageReadParam param) throws IOException
readAsRenderedImage
in class ImageReader
IOException
public BufferedImage read(int imageIndex, ImageReadParam param) throws IOException
read
in class ImageReader
IOException
public void reset()
reset
in class ImageReader
protected void resetLocal()
protected static BufferedImage getDestination(ImageReadParam param, Iterator imageTypes, int width, int height) throws IIOException
IIOException
Copyright © 2015–2022 SCIFIO. All rights reserved.