SKJpegEncoderOptions 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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for