public class PNMImageReader
extends javax.imageio.ImageReader
PNMImageReadParam
.Constructor and Description |
---|
PNMImageReader(javax.imageio.spi.ImageReaderSpi originator)
Constructs
PNMImageReader from the provided
ImageReaderSpi . |
Modifier and Type | Method and Description |
---|---|
boolean |
canReadRaster() |
javax.imageio.ImageReadParam |
getDefaultReadParam() |
int |
getHeight(int imageIndex) |
javax.imageio.metadata.IIOMetadata |
getImageMetadata(int imageIndex) |
java.util.Iterator |
getImageTypes(int imageIndex) |
int |
getMaxValue() |
int |
getNumImages(boolean allowSearch)
Overrides the method defined in the superclass.
|
javax.imageio.metadata.IIOMetadata |
getStreamMetadata() |
int |
getVariant() |
int |
getWidth(int imageIndex) |
boolean |
isRandomAccessEasy(int imageIndex) |
java.awt.image.BufferedImage |
read(int imageIndex,
javax.imageio.ImageReadParam param) |
void |
readHeader() |
java.awt.image.Raster |
readRaster(int imageIndex,
javax.imageio.ImageReadParam param) |
void |
reset() |
void |
setInput(java.lang.Object input,
boolean seekForwardOnly,
boolean ignoreMetadata)
Overrides the method defined in the superclass.
|
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, checkReadParamBandSettings, clearAbortRequest, computeRegions, dispose, getAspectRatio, getAvailableLocales, getDestination, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, hasThumbnails, isIgnoringMetadata, isImageTiled, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, readAll, readAll, readAsRenderedImage, readerSupportsThumbnails, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, setInput, setInput, setLocale
public PNMImageReader(javax.imageio.spi.ImageReaderSpi originator)
PNMImageReader
from the provided
ImageReaderSpi
.public void setInput(java.lang.Object input, boolean seekForwardOnly, boolean ignoreMetadata)
setInput
in class javax.imageio.ImageReader
public int getNumImages(boolean allowSearch) throws java.io.IOException
getNumImages
in class javax.imageio.ImageReader
java.io.IOException
public int getWidth(int imageIndex) throws java.io.IOException
getWidth
in class javax.imageio.ImageReader
java.io.IOException
public int getHeight(int imageIndex) throws java.io.IOException
getHeight
in class javax.imageio.ImageReader
java.io.IOException
public int getVariant()
public int getMaxValue()
public void readHeader() throws java.io.IOException
java.io.IOException
public java.util.Iterator getImageTypes(int imageIndex) throws java.io.IOException
getImageTypes
in class javax.imageio.ImageReader
java.io.IOException
public javax.imageio.ImageReadParam getDefaultReadParam()
getDefaultReadParam
in class javax.imageio.ImageReader
public javax.imageio.metadata.IIOMetadata getImageMetadata(int imageIndex) throws java.io.IOException
getImageMetadata
in class javax.imageio.ImageReader
java.io.IOException
public javax.imageio.metadata.IIOMetadata getStreamMetadata() throws java.io.IOException
getStreamMetadata
in class javax.imageio.ImageReader
java.io.IOException
public boolean isRandomAccessEasy(int imageIndex) throws java.io.IOException
isRandomAccessEasy
in class javax.imageio.ImageReader
java.io.IOException
public java.awt.image.BufferedImage read(int imageIndex, javax.imageio.ImageReadParam param) throws java.io.IOException
read
in class javax.imageio.ImageReader
java.io.IOException
public boolean canReadRaster()
canReadRaster
in class javax.imageio.ImageReader
public java.awt.image.Raster readRaster(int imageIndex, javax.imageio.ImageReadParam param) throws java.io.IOException
readRaster
in class javax.imageio.ImageReader
java.io.IOException
public void reset()
reset
in class javax.imageio.ImageReader
Copyright © 2014 Open Microscopy Environment