it.geosolutions.imageioimpl.plugins.tiff
Class TIFFImageReader
Object
ImageReader
TIFFImageReader
public class TIFFImageReader
- extends ImageReader
Fields inherited from class ImageReader |
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales |
Method Summary |
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)
|
Methods inherited from class ImageReader |
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 |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TIFFImageReader
public TIFFImageReader(ImageReaderSpi originatingProvider)
setInput
public void setInput(Object input,
boolean seekForwardOnly,
boolean ignoreMetadata)
- Overrides:
setInput
in class ImageReader
getNumImages
public int getNumImages(boolean allowSearch)
throws IOException
- Specified by:
getNumImages
in class ImageReader
- Throws:
IOException
getStreamMetadata
public IIOMetadata getStreamMetadata()
throws IIOException
- Specified by:
getStreamMetadata
in class ImageReader
- Throws:
IIOException
getWidth
public int getWidth(int imageIndex)
throws IOException
- Specified by:
getWidth
in class ImageReader
- Throws:
IOException
getHeight
public int getHeight(int imageIndex)
throws IOException
- Specified by:
getHeight
in class ImageReader
- Throws:
IOException
getImageTypes
public Iterator getImageTypes(int imageIndex)
throws IIOException
- Specified by:
getImageTypes
in class ImageReader
- Throws:
IIOException
getImageMetadata
public IIOMetadata getImageMetadata(int imageIndex)
throws IIOException
- Specified by:
getImageMetadata
in class ImageReader
- Throws:
IIOException
getStreamMetadata
public IIOMetadata getStreamMetadata(int imageIndex)
throws IIOException
- Throws:
IIOException
isRandomAccessEasy
public boolean isRandomAccessEasy(int imageIndex)
throws IOException
- Overrides:
isRandomAccessEasy
in class ImageReader
- Throws:
IOException
readSupportsThumbnails
public boolean readSupportsThumbnails()
hasThumbnails
public boolean hasThumbnails(int imageIndex)
- Overrides:
hasThumbnails
in class ImageReader
getNumThumbnails
public int getNumThumbnails(int imageIndex)
throws IOException
- Overrides:
getNumThumbnails
in class ImageReader
- Throws:
IOException
getDefaultReadParam
public ImageReadParam getDefaultReadParam()
- Overrides:
getDefaultReadParam
in class ImageReader
isImageTiled
public boolean isImageTiled(int imageIndex)
throws IOException
- Overrides:
isImageTiled
in class ImageReader
- Throws:
IOException
getTileWidth
public int getTileWidth(int imageIndex)
throws IOException
- Overrides:
getTileWidth
in class ImageReader
- Throws:
IOException
getTileHeight
public int getTileHeight(int imageIndex)
throws IOException
- Overrides:
getTileHeight
in class ImageReader
- Throws:
IOException
readTile
public BufferedImage readTile(int imageIndex,
int tileX,
int tileY)
throws IOException
- Overrides:
readTile
in class ImageReader
- Throws:
IOException
canReadRaster
public boolean canReadRaster()
- Overrides:
canReadRaster
in class ImageReader
readRaster
public Raster readRaster(int imageIndex,
ImageReadParam param)
throws IOException
- Overrides:
readRaster
in class ImageReader
- Throws:
IOException
readAsRenderedImage
public RenderedImage readAsRenderedImage(int imageIndex,
ImageReadParam param)
throws IOException
- Overrides:
readAsRenderedImage
in class ImageReader
- Throws:
IOException
read
public BufferedImage read(int imageIndex,
ImageReadParam param)
throws IOException
- Specified by:
read
in class ImageReader
- Throws:
IOException
reset
public void reset()
- Overrides:
reset
in class ImageReader
resetLocal
protected void resetLocal()
getDestination
protected static BufferedImage getDestination(ImageReadParam param,
Iterator imageTypes,
int width,
int height)
throws IIOException
- Throws:
IIOException
Copyright © 2006-2010 GeoSolutions. All Rights Reserved.