SKCodec.StartScanlineDecode Method
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
| Name | Description |
|---|---|
| StartScanlineDecode(SKImageInfo) |
Prepare for a scanline decode. |
| StartScanlineDecode(SKImageInfo, SKCodecOptions) |
Prepare for a scanline decode with the specified options. |
StartScanlineDecode(SKImageInfo)
Prepare for a scanline decode.
public SkiaSharp.SKCodecResult StartScanlineDecode(SkiaSharp.SKImageInfo info);
Parameters
- info
- SKImageInfo
The image information of the destination. If the dimensions do not match those of Info, this implies a scale.
Returns
Returns Success on success, or another value explaining the type of failure.
Remarks
Not all codecs support this.
Applies to
StartScanlineDecode(SKImageInfo, SKCodecOptions)
Prepare for a scanline decode with the specified options.
public SkiaSharp.SKCodecResult StartScanlineDecode(SkiaSharp.SKImageInfo info, SkiaSharp.SKCodecOptions options);
Parameters
- info
- SKImageInfo
The image information of the destination. If the dimensions do not match those of Info, this implies a scale.
- options
- SKCodecOptions
The decoding options, including if memory is zero initialized and whether to decode a subset.
Returns
Returns Success on success, or another value explaining the type of failure.
Remarks
Not all codecs support this.