Editar

Compartir a través de


SKJpegEncoderOptions Constructors

Definition

Overloads

SKJpegEncoderOptions(Int32, SKJpegEncoderDownsample, SKJpegEncoderAlphaOption)

Creates a new instance of SKJpegEncoderOptions.

SKJpegEncoderOptions(Int32, SKJpegEncoderDownsample, SKJpegEncoderAlphaOption, SKTransferFunctionBehavior)
Obsolete.

Creates a new instance of SKJpegEncoderOptions.

SKJpegEncoderOptions(Int32, SKJpegEncoderDownsample, SKJpegEncoderAlphaOption)

Creates a new instance of SKJpegEncoderOptions.

public SKJpegEncoderOptions (int quality, SkiaSharp.SKJpegEncoderDownsample downsample, SkiaSharp.SKJpegEncoderAlphaOption alphaOption);

Parameters

quality
Int32

The quality of the encoding in the range 0 to 100.

downsample
SKJpegEncoderDownsample

The downsampling factor for the U and V components.

alphaOption
SKJpegEncoderAlphaOption

The value to control how alpha is handled.

Applies to

SKJpegEncoderOptions(Int32, SKJpegEncoderDownsample, SKJpegEncoderAlphaOption, SKTransferFunctionBehavior)

Caution

Use SKJpegEncoderOptions(int, SKJpegEncoderDownsample, SKJpegEncoderAlphaOption) instead.

Creates a new instance of SKJpegEncoderOptions.

public SKJpegEncoderOptions (int quality, SkiaSharp.SKJpegEncoderDownsample downsample, SkiaSharp.SKJpegEncoderAlphaOption alphaOption, SkiaSharp.SKTransferFunctionBehavior blendBehavior);
[System.Obsolete("Use SKJpegEncoderOptions(int, SKJpegEncoderDownsample, SKJpegEncoderAlphaOption) instead.")]
public SKJpegEncoderOptions (int quality, SkiaSharp.SKJpegEncoderDownsample downsample, SkiaSharp.SKJpegEncoderAlphaOption alphaOption, SkiaSharp.SKTransferFunctionBehavior blendBehavior);

Parameters

quality
Int32

The quality of the encoding in the range 0 to 100.

downsample
SKJpegEncoderDownsample

The downsampling factor for the U and V components.

alphaOption
SKJpegEncoderAlphaOption

The value to control how alpha is handled.

blendBehavior
SKTransferFunctionBehavior

The behavior when blending alpha.

Attributes

Applies to