|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.batik.ext.awt.image.spi.ImageWriterParams
Parameters for the encoder which is accessed through the ImageWriter interface.
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. |
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 Integer getResolution()
public Float getJPEGQuality()
public Boolean getJPEGForceBaseline()
public 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(String method)
method
- the compression method
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |