ImageDecoderImpl, PNGImageDecoder, TIFFImageDecoderpublic interface ImageDecoder
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.image.Raster |
decodeAsRaster() |
Returns a Raster that contains the decoded contents of the
SeekableStream associated with this ImageDecoder.
|
java.awt.image.Raster |
decodeAsRaster(int page) |
Returns a Raster that contains the decoded contents of the
SeekableStream associated with this ImageDecoder.
|
java.awt.image.RenderedImage |
decodeAsRenderedImage() |
Returns a RenderedImage that contains the decoded contents of the
SeekableStream associated with this ImageDecoder.
|
java.awt.image.RenderedImage |
decodeAsRenderedImage(int page) |
Returns a RenderedImage that contains the decoded contents of the
SeekableStream associated with this ImageDecoder.
|
SeekableStream |
getInputStream() |
Returns the SeekableStream associated with this ImageDecoder.
|
int |
getNumPages() |
Returns the number of pages present in the current stream.
|
ImageDecodeParam |
getParam() |
Returns the current parameters as an instance of the
ImageDecodeParam interface.
|
void |
setParam(ImageDecodeParam param) |
Sets the current parameters to an instance of the
ImageDecodeParam interface.
|
ImageDecodeParam getParam()
void setParam(ImageDecodeParam param)
SeekableStream getInputStream()
int getNumPages()
throws java.io.IOException
java.io.IOExceptionjava.awt.image.Raster decodeAsRaster()
throws java.io.IOException
java.io.IOExceptionjava.awt.image.Raster decodeAsRaster(int page)
throws java.io.IOException
page - The page to be decoded.java.io.IOExceptionjava.awt.image.RenderedImage decodeAsRenderedImage()
throws java.io.IOException
java.io.IOExceptionjava.awt.image.RenderedImage decodeAsRenderedImage(int page)
throws java.io.IOException
page - The page to be decoded.java.io.IOExceptionCopyright 1999-2018 The Apache Software Foundation. All Rights Reserved.