편집

다음을 통해 공유


SKWebpEncoderOptions Constructors

Definition

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