|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface describing objects that transform a BufferedImage or Raster into an OutputStream.
This interface is not a committed part of the JAI API. It may be removed or changed in future releases of JAI.
Method Summary | |
void |
encode(java.awt.image.Raster ras,
java.awt.image.ColorModel cm)
Encodes a Raster with a given ColorModel and writes the output to the OutputStream associated with this ImageEncoder. |
void |
encode(java.awt.image.RenderedImage im)
Encodes a RenderedImage and writes the output to the OutputStream associated with this ImageEncoder. |
java.io.OutputStream |
getOutputStream()
Returns the OutputStream associated with this ImageEncoder. |
ImageEncodeParam |
getParam()
Returns the current parameters as an instance of the ImageEncodeParam interface. |
void |
setParam(ImageEncodeParam param)
Sets the current parameters to an instance of the ImageEncodeParam interface. |
Method Detail |
public ImageEncodeParam getParam()
public void setParam(ImageEncodeParam param)
public java.io.OutputStream getOutputStream()
public void encode(java.awt.image.Raster ras, java.awt.image.ColorModel cm) throws java.io.IOException
public void encode(java.awt.image.RenderedImage im) throws java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |