java.lang.Object | |
↳ | org.jfree.chart.encoders.KeypointPNGEncoderAdapter |
Adapter class for the Keypoint 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 or 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.
| |||||||||||
Get whether the encoder should encode alpha transparency.
| |||||||||||
Set whether the encoder should encode alpha transparency (supported).
| |||||||||||
Set the quality of the image encoding (supported).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
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. The underlying encoder uses int values: 0 for no compression, and values 1 through 9 for various levels of compression (1 is best speed, 9 is best compression).
Get whether the encoder should encode alpha transparency.
Set whether the encoder should encode alpha transparency (supported).
encodingAlpha | Whether the encoder should encode alpha transparency. |
---|
Set the quality of the image encoding (supported). The underlying encoder uses int values: 0 for no compression, and values 1 through 9 for various levels of compression (1 is best speed, 9 is best compression).
quality | A float representing the quality. |
---|