org.apache.batik.ext.awt.image.spi
public class ImageWriterParams extends Object
| Constructor Summary | |
|---|---|
| ImageWriterParams()
Default constructor. | |
| Method Summary | |
|---|---|
| String | getCompressionMethod() |
| Boolean | getJPEGForceBaseline() |
| Float | getJPEGQuality() |
| Integer | getResolution() |
| void | setCompressionMethod(String method)
Set the compression method that shall be used to encode the image. |
| void | setJPEGQuality(float quality, boolean forceBaseline)
Sets the quality setting for encoding JPEG images. |
| void | setResolution(int dpi)
Sets the target resolution of the bitmap image to be written. |
Returns: the compression method for encoding the image
Returns: true if the baseline quantization table is forced, or null if undefined.
Returns: the quality value for encoding a JPEG image (0.0-1.0), or null if undefined
Returns: the image resolution in dpi, or null if undefined
Parameters: method the compression method
Parameters: quality the quality setting (0.0-1.0) forceBaseline force baseline quantization table
Parameters: dpi the resolution in dpi