Methods Summary |
---|
public java.awt.image.BufferedImage | decodeAsBufferedImage()Decodes the current JPEG data stream. The result of decoding
this InputStream is a BufferedImage the ColorModel associated
with this BufferedImage is determined based on the encoded
COLOR_ID of the JPEGDecodeParam object. For a tables only
stream this will return null.
|
public java.awt.image.Raster | decodeAsRaster()Decode the JPEG stream that was passed as part of
construction. The JPEG decompression will be performed
according to the current settings of the JPEGDecodeParam
object. For a tables only stream this will return null.
|
public java.io.InputStream | getInputStream()Get the input stream that decoding will occur from.
|
public JPEGDecodeParam | getJPEGDecodeParam()Returns the JPEGDecodeParam object that resulted from the most
recent decoding event.
|
public void | setJPEGDecodeParam(JPEGDecodeParam jdp)Sets the JPEGDecodeParam object used to determine the features
of the decompression performed on the JPEG encoded data. This
is ussually only needed for decoding abbreviated JPEG data
streams.
|