WebPOptions
Inheritance: java.lang.Object, ImageOptionsBase
WEBP image options
Constructors
| Constructor | Description |
|---|---|
| WebPOptions() |
Methods
| Method | Description |
|---|---|
| getTargetFormat() | |
| getLossless() | Gets or sets a value indicating whether this WebPOptions is lossless. Value: true if lossless; otherwise, false . |
| setLossless(boolean value) | Gets or sets a value indicating whether this WebPOptions is lossless. Value: true if lossless; otherwise, false . |
| getQuality() | Gets or sets the quality. Value: The quality. |
| setQuality(float value) | Gets or sets the quality. Value: The quality. |
| getAnimLoopCount() | Gets or sets the animation loop count. Value: The animation loop count, 0 - infinity. |
| setAnimLoopCount(int value) | Gets or sets the animation loop count. Value: The animation loop count, 0 - infinity. |
| getAnimBackgroundColor() | Gets or sets the color of the animation background. Value: The color of the animation background. |
| setAnimBackgroundColor(long value) | Gets or sets the color of the animation background. Value: The color of the animation background. |
WebPOptions()
public WebPOptions()
getTargetFormat()
public long getTargetFormat()
Returns: long
getLossless()
public final boolean getLossless()
Gets or sets a value indicating whether this WebPOptions is lossless. Value: true if lossless; otherwise, false .
Returns: boolean
setLossless(boolean value)
public final void setLossless(boolean value)
Gets or sets a value indicating whether this WebPOptions is lossless. Value: true if lossless; otherwise, false .
getQuality()
public final float getQuality()
Gets or sets the quality. Value: The quality.
Returns: float
setQuality(float value)
public final void setQuality(float value)
Gets or sets the quality. Value: The quality.
getAnimLoopCount()
public final int getAnimLoopCount()
Gets or sets the animation loop count. Value: The animation loop count, 0 - infinity.
Returns: int
setAnimLoopCount(int value)
public final void setAnimLoopCount(int value)
Gets or sets the animation loop count. Value: The animation loop count, 0 - infinity.
getAnimBackgroundColor()
public final long getAnimBackgroundColor()
Gets or sets the color of the animation background. Value: The color of the animation background.
Returns: long
setAnimBackgroundColor(long value)
public final void setAnimBackgroundColor(long value)
Gets or sets the color of the animation background. Value: The color of the animation background.