SKWebpEncoderOptions Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SKWebpEncoderOptions(SKWebpEncoderCompression, Single) |
Creates a new instance of SKWebpEncoderOptions. |
SKWebpEncoderOptions(SKWebpEncoderCompression, Single, SKTransferFunctionBehavior) |
Obsolete.
Creates a new instance of SKWebpEncoderOptions. |
SKWebpEncoderOptions(SKWebpEncoderCompression, Single)
Creates a new instance of SKWebpEncoderOptions.
public SKWebpEncoderOptions (SkiaSharp.SKWebpEncoderCompression compression, float quality);
Parameters
- compression
- SKWebpEncoderCompression
The compression level.
- quality
- Single
The quality of the encoding in the range 0.0 to 100.0.
Applies to
SKWebpEncoderOptions(SKWebpEncoderCompression, Single, SKTransferFunctionBehavior)
Caution
Use SKWebpEncoderOptions(SKWebpEncoderCompression, float) instead.
Creates a new instance of SKWebpEncoderOptions.
public SKWebpEncoderOptions (SkiaSharp.SKWebpEncoderCompression compression, float quality, SkiaSharp.SKTransferFunctionBehavior unpremulBehavior);
[System.Obsolete("Use SKWebpEncoderOptions(SKWebpEncoderCompression, float) instead.")]
public SKWebpEncoderOptions (SkiaSharp.SKWebpEncoderCompression compression, float quality, SkiaSharp.SKTransferFunctionBehavior unpremulBehavior);
Parameters
- compression
- SKWebpEncoderCompression
The compression level.
- quality
- Single
The quality of the encoding in the range 0.0 to 100.0.
- unpremulBehavior
- SKTransferFunctionBehavior
The unpremultiplication behavior.
- Attributes
Applies to
SkiaSharp