WebpOptions
Contents
[
Hide
]
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject
All Implemented Interfaces: java.io.Serializable
public final class WebpOptions extends ValueObject implements Serializable
Options for conversion to Webp file type.
Constructors
Constructor | Description |
---|---|
WebpOptions() |
Methods
Method | Description |
---|---|
getLossless() | Indicates if the compression of the converted file will be lossless. |
setLossless(boolean value) | Indicates if the compression of the converted file will be lossless. |
getQuality() | Gets or sets the quality. |
setQuality(int value) | Gets or sets the quality. |
WebpOptions()
public WebpOptions()
getLossless()
public final boolean getLossless()
Indicates if the compression of the converted file will be lossless.
Returns: boolean
setLossless(boolean value)
public final void setLossless(boolean value)
Indicates if the compression of the converted file will be lossless.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getQuality()
public final int getQuality()
Gets or sets the quality.
Returns: int
setQuality(int value)
public final void setQuality(int value)
Gets or sets the quality.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |