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.
|
long |
getTargetFormat() |
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.
|
getInterruptionToken, getLayers, getPalette, getPc3File, getResolutionSettings, getRotation, getSource, getTimeout, getUserWatermarkColor, getUserWatermarkText, getVectorRasterizationOptions, getXmpData, setInterruptionToken, setLayers, setPalette, setPc3File, setResolutionSettings, setRotation, setSource, setTimeout, setUserWatermarkColor, setUserWatermarkText, setVectorRasterizationOptions, setXmpData
public long getTargetFormat()
getTargetFormat
in class ImageOptionsBase
public final boolean getLossless()
Gets or sets a value indicating whether this WebPOptions
is lossless.
true
if lossless; otherwise, false
.public final void setLossless(boolean value)
Gets or sets a value indicating whether this WebPOptions
is lossless.
true
if lossless; otherwise, false
.public final float getQuality()
Gets or sets the quality.
Value: The quality.public final void setQuality(float value)
Gets or sets the quality.
Value: The quality.public final int getAnimLoopCount()
Gets or sets the animation loop count.
Value: The animation loop count, 0 - infinity.public final void setAnimLoopCount(int value)
Gets or sets the animation loop count.
Value: The animation loop count, 0 - infinity.public final long getAnimBackgroundColor()
Gets or sets the color of the animation background.
Value: The color of the animation background.public final void setAnimBackgroundColor(long value)
Gets or sets the color of the animation background.
Value: The color of the animation background.