|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.ext.awt.image.spi.ImageWriterParams
public class ImageWriterParams
Parameters for the encoder which is accessed through the ImageWriter interface.
Constructor Summary | |
---|---|
ImageWriterParams()
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getCompressionMethod()
|
java.lang.Boolean |
getJPEGForceBaseline()
|
java.lang.Float |
getJPEGQuality()
|
java.lang.Integer |
getResolution()
|
void |
setCompressionMethod(java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageWriterParams()
Method Detail |
---|
public java.lang.Integer getResolution()
public java.lang.Float getJPEGQuality()
public java.lang.Boolean getJPEGForceBaseline()
public java.lang.String getCompressionMethod()
public void setResolution(int dpi)
dpi
- the resolution in dpipublic void setJPEGQuality(float quality, boolean forceBaseline)
quality
- the quality setting (0.0-1.0)forceBaseline
- force baseline quantization tablepublic void setCompressionMethod(java.lang.String method)
method
- the compression method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |