|
xmlgraphics-commons 1.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xmlgraphics.image.writer.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 dpi
public 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
|
xmlgraphics-commons 1.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||