WindowsExtensions.ToSKBitmap(WriteableBitmap) 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.
Converts a Windows WriteableBitmap into a SkiaSharp bitmap.
public static SkiaSharp.SKBitmap ToSKBitmap(this Microsoft.UI.Xaml.Media.Imaging.WriteableBitmap bitmap);
Parameters
- bitmap
- Microsoft.UI.Xaml.Media.Imaging.WriteableBitmap
The Windows WriteableBitmap to convert.
Returns
Returns a new SKBitmap containing a copy of the bitmap data.