public class WebPOptions extends ImageOptionsBase
Webp image options
Constructor and Description |
---|
WebPOptions() |
Modifier and Type | Method and Description |
---|---|
long |
getAnimBackgroundColor()
Gets or sets the color of the animation background.
|
int |
getAnimLoopCount()
Gets or sets the animation loop count.
|
boolean |
getLossless()
Gets or sets a value indicating whether this
WebPOptions is lossless. |
float |
getQuality()
Gets or sets the quality.
|
void |
setAnimBackgroundColor(long value)
Gets or sets the color of the animation background.
|
void |
setAnimLoopCount(int value)
Gets or sets the animation loop count.
|
void |
setLossless(boolean value)
Gets or sets a value indicating whether this
WebPOptions is lossless. |
void |
setQuality(float value)
Gets or sets the quality.
|
deepClone, getBufferSizeHint, getMultiPageOptions, getPalette, getProgressEventHandler, getResolutionSettings, getSource, getVectorRasterizationOptions, getXmpData, setBufferSizeHint, setMultiPageOptions, setPalette, setProgressEventHandler, setResolutionSettings, setSource, setVectorRasterizationOptions, setXmpData
close, dispose, getDisposed
public boolean getLossless()
Gets or sets a value indicating whether this WebPOptions
is lossless.
true
if lossless; otherwise, false
.public void setLossless(boolean value)
Gets or sets a value indicating whether this WebPOptions
is lossless.
value
- true
if lossless; otherwise, false
.public float getQuality()
Gets or sets the quality.
public void setQuality(float value)
Gets or sets the quality.
value
- The quality.public int getAnimLoopCount()
Gets or sets the animation loop count.
public void setAnimLoopCount(int value)
Gets or sets the animation loop count.
value
- The animartion loop count, 0 - infinity.public long getAnimBackgroundColor()
Gets or sets the color of the animation background.
public void setAnimBackgroundColor(long value)
Gets or sets the color of the animation background.
value
- The color of the animation background.