| org.jfree.chart.encoders.ImageEncoder |
Known Indirect Subclasses
|
Interface for abstracting different types of image encoders.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Encodes an image in a particular format.
| |||||||||||
Encodes an image in a particular 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 (not
supported by all ImageEncoders).
| |||||||||||
Set the quality of the image encoding (not supported by all
ImageEncoders).
| |||||||||||
Encodes an image in a particular format.
| bufferedImage | The image to be encoded. |
|---|
| IOException |
|---|
Encodes an image in a particular 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.
Get whether the encoder should encode alpha transparency.
Set whether the encoder should encode alpha transparency (not supported by all ImageEncoders).
| encodingAlpha | Whether the encoder should encode alpha transparency. |
|---|
Set the quality of the image encoding (not supported by all ImageEncoders).
| quality | A float representing the quality. |
|---|