
**Inheritance:** java.lang.Object, ImageOptionsBase

WEBP image options

## Constructors

| Constructor | Description |
| --- | --- |
| [WebPOptions()](#WebPOptions) |  |

## Methods

| Method | Description |
| --- | --- |
| [getTargetFormat()](#getTargetFormat) |  |
| [getLossless()](#getLossless) | Gets or sets a value indicating whether this WebPOptions is lossless. Value: true if lossless; otherwise, false . |
| [setLossless(boolean value)](#setLossless-boolean) | Gets or sets a value indicating whether this WebPOptions is lossless. Value: true if lossless; otherwise, false . |
| [getQuality()](#getQuality) | Gets or sets the quality. Value: The quality. |
| [setQuality(float value)](#setQuality-float) | Gets or sets the quality. Value: The quality. |
| [getAnimLoopCount()](#getAnimLoopCount) | Gets or sets the animation loop count. Value: The animation loop count, 0 - infinity. |
| [setAnimLoopCount(int value)](#setAnimLoopCount-int) | Gets or sets the animation loop count. Value: The animation loop count, 0 - infinity. |
| [getAnimBackgroundColor()](#getAnimBackgroundColor) | Gets or sets the color of the animation background. Value: The color of the animation background. |
| [setAnimBackgroundColor(long value)](#setAnimBackgroundColor-long) | Gets or sets the color of the animation background. Value: The color of the animation background. |

### WebPOptions() {#WebPOptions}
```java
public WebPOptions()
```

### getTargetFormat() {#getTargetFormat}
```java
public long getTargetFormat()
```

**Returns:** long

### getLossless() {#getLossless}
```java
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) {#setLossless-boolean}
```java
public final void setLossless(boolean value)
```

Gets or sets a value indicating whether this WebPOptions is lossless. Value: true if lossless; otherwise, false .

### getQuality() {#getQuality}
```java
public final float getQuality()
```

Gets or sets the quality. Value: The quality.

**Returns:** float

### setQuality(float value) {#setQuality-float}
```java
public final void setQuality(float value)
```

Gets or sets the quality. Value: The quality.

### getAnimLoopCount() {#getAnimLoopCount}
```java
public final int getAnimLoopCount()
```

Gets or sets the animation loop count. Value: The animation loop count, 0 - infinity.

**Returns:** int

### setAnimLoopCount(int value) {#setAnimLoopCount-int}
```java
public final void setAnimLoopCount(int value)
```

Gets or sets the animation loop count. Value: The animation loop count, 0 - infinity.

### getAnimBackgroundColor() {#getAnimBackgroundColor}
```java
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) {#setAnimBackgroundColor-long}
```java
public final void setAnimBackgroundColor(long value)
```

Gets or sets the color of the animation background. Value: The color of the animation background.

