public final class TGAImageReader
extends com.twelvemonkeys.imageio.ImageReaderBase
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales
Modifier | Constructor and Description |
---|---|
protected |
TGAImageReader(ImageReaderSpi provider) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight(int imageIndex) |
IIOMetadata |
getImageMetadata(int imageIndex) |
Iterator<ImageTypeSpecifier> |
getImageTypes(int imageIndex) |
int |
getNumThumbnails(int imageIndex) |
ImageTypeSpecifier |
getRawImageType(int imageIndex) |
int |
getThumbnailHeight(int imageIndex,
int thumbnailIndex) |
int |
getThumbnailWidth(int imageIndex,
int thumbnailIndex) |
int |
getWidth(int imageIndex) |
boolean |
hasThumbnails(int imageIndex) |
static void |
main(String[] args) |
BufferedImage |
read(int imageIndex,
ImageReadParam param) |
boolean |
readerSupportsThumbnails() |
BufferedImage |
readThumbnail(int imageIndex,
int thumbnailIndex) |
protected void |
resetMembers() |
assertInput, checkBounds, dispose, fakeAOI, fakeSubsampling, getDestination, getNumImages, getStreamMetadata, hasExplicitDestination, reset, setInput, showIt
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, getAspectRatio, getAvailableLocales, getDefaultReadParam, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getOriginatingProvider, getSourceRegion, getStreamMetadata, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, 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, readRaster, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, setInput, setInput, setLocale
protected TGAImageReader(ImageReaderSpi provider)
protected void resetMembers()
resetMembers
in class com.twelvemonkeys.imageio.ImageReaderBase
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<ImageTypeSpecifier> getImageTypes(int imageIndex) throws IOException
getImageTypes
in class ImageReader
IOException
public ImageTypeSpecifier getRawImageType(int imageIndex) throws IOException
getRawImageType
in class ImageReader
IOException
public BufferedImage read(int imageIndex, ImageReadParam param) throws IOException
read
in class ImageReader
IOException
public boolean readerSupportsThumbnails()
readerSupportsThumbnails
in class ImageReader
public boolean hasThumbnails(int imageIndex) throws IOException
hasThumbnails
in class ImageReader
IOException
public int getNumThumbnails(int imageIndex) throws IOException
getNumThumbnails
in class ImageReader
IOException
public int getThumbnailWidth(int imageIndex, int thumbnailIndex) throws IOException
getThumbnailWidth
in class ImageReader
IOException
public int getThumbnailHeight(int imageIndex, int thumbnailIndex) throws IOException
getThumbnailHeight
in class ImageReader
IOException
public BufferedImage readThumbnail(int imageIndex, int thumbnailIndex) throws IOException
readThumbnail
in class ImageReader
IOException
public IIOMetadata getImageMetadata(int imageIndex) throws IOException
getImageMetadata
in class com.twelvemonkeys.imageio.ImageReaderBase
IOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2017. All rights reserved.