|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.ext.awt.image.codec.ImageDecoderImpl | +--org.apache.batik.ext.awt.image.codec.PNGImageDecoder
Fields inherited from class org.apache.batik.ext.awt.image.codec.ImageDecoderImpl |
input, param |
Constructor Summary | |
PNGImageDecoder(java.io.InputStream input,
PNGDecodeParam param)
|
Method Summary | |
java.awt.image.RenderedImage |
decodeAsRenderedImage(int page)
Returns a RenderedImage that contains the decoded
contents of the SeekableStream associated
with this ImageDecoder . |
Methods inherited from class org.apache.batik.ext.awt.image.codec.ImageDecoderImpl |
decodeAsRaster, decodeAsRaster, decodeAsRenderedImage, getInputStream, getNumPages, getParam, setParam |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PNGImageDecoder(java.io.InputStream input, PNGDecodeParam param)
Method Detail |
public java.awt.image.RenderedImage decodeAsRenderedImage(int page) throws java.io.IOException
ImageDecoderImpl
RenderedImage
that contains the decoded
contents of the SeekableStream
associated
with this ImageDecoder
.
The given page of a multi-page image is decoded. If
the page does not exist, an IOException will be thrown.
Page numbering begins at zero.decodeAsRenderedImage
in class ImageDecoderImpl
org.apache.batik.ext.awt.image.codec.ImageDecoderImpl
page
- The page to be decoded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |