java.lang.Object | |
↳ | org.jfree.chart.encoders.SunPNGEncoderAdapter |
Adapter class for the Sun PNG Encoder. The ImageEncoderFactory will only return a reference to this class by default if the library has been compiled under a JDK 1.4+ and is being run using a JDK 1.4+.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Encodes an image in PNG format.
| |||||||||||
Encodes an image in PNG format and writes it to an OutputStream.
| |||||||||||
Get the quality of the image encoding (always 0.0).
| |||||||||||
Get whether the encoder should encode alpha transparency (always false).
| |||||||||||
Set whether the encoder should encode alpha transparency (not
supported in this ImageEncoder).
| |||||||||||
Set the quality of the image encoding (not supported in this
ImageEncoder).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.jfree.chart.encoders.ImageEncoder
|
Encodes an image in PNG format.
bufferedImage | The image to be encoded. |
---|
IOException |
---|
Encodes an image in PNG format and writes it to an OutputStream.
bufferedImage | The image to be encoded. |
---|---|
outputStream | The OutputStream to write the encoded image to. |
IOException |
---|
Get the quality of the image encoding (always 0.0).
Get whether the encoder should encode alpha transparency (always false).
Set whether the encoder should encode alpha transparency (not supported in this ImageEncoder).
encodingAlpha | Whether the encoder should encode alpha transparency. |
---|
Set the quality of the image encoding (not supported in this ImageEncoder).
quality | A float representing the quality. |
---|