Method Summary |
|
public byte[] | encode(BufferedImage bufferedImage) Encodes an image in PNG format.
Parameters: bufferedImage - The image to be encoded. |
public void | encode(BufferedImage bufferedImage, OutputStream outputStream) Encodes an image in PNG format and writes it to an OutputStream. |
public float | getQuality() Get the quality of the image encoding (always 0.0). |
public boolean | isEncodingAlpha() Get whether the encoder should encode alpha transparency (always false). |
public void | setEncodingAlpha(boolean encodingAlpha) Set whether the encoder should encode alpha transparency (not
supported in this ImageEncoder). |
public void | setQuality(float quality) Set the quality of the image encoding (not supported in this
ImageEncoder). |