SKBitmapExtensions Class

Contains extension methods for the SKBitmap type.

Definition

Namespace: KGySoft.Drawing.SkiaSharp
Assembly: KGySoft.Drawing.SkiaSharp (in KGySoft.Drawing.SkiaSharp.dll) Version: 8.1.0
C#
public static class SKBitmapExtensions
Inheritance
Object    SKBitmapExtensions

Methods

ConvertPixelFormat(SKBitmap, IQuantizer, IDitherer, SKColorType, SKAlphaType, WorkingColorSpace) Converts the pixel format of this bitmap using the specified colorType, alphaType and targetColorSpace.
ConvertPixelFormat(SKBitmap, SKColorType, SKAlphaType, WorkingColorSpace, SKColor, Byte) Converts the pixel format of this bitmap using the specified colorType, alphaType and targetColorSpace.
ConvertPixelFormatAsync(SKBitmap, IQuantizer, IDitherer, SKColorType, SKAlphaType, WorkingColorSpace, TaskConfig) Converts the pixel format of this bitmap asynchronously, using the specified colorType, alphaType and targetColorSpace.
ConvertPixelFormatAsync(SKBitmap, SKColorType, SKAlphaType, WorkingColorSpace, SKColor, Byte, TaskConfig) Converts the pixel format of this bitmap asynchronously, using the specified colorType, alphaType and targetColorSpace.
GetReadableBitmapData(SKBitmap, SKColor, Byte) Gets a managed read-only accessor for an SKBitmap instance.
See the Remarks section of the BitmapExtensions.GetReadWriteBitmapData method for details and code samples. That method is for the GDI+ Bitmap type but the main principles apply for this method, too.
GetReadableBitmapData(SKBitmap, WorkingColorSpace, SKColor, Byte) Gets a managed read-only accessor for an SKBitmap instance.
See the Remarks section of the BitmapExtensions.GetReadWriteBitmapData method for details and code samples. That method is for the GDI+ Bitmap type but the main principles apply for this method, too.
GetReadWriteBitmapData(SKBitmap, SKColor, Byte) Gets a managed read-write accessor for an SKBitmap instance.
See the Remarks section of the BitmapExtensions.GetReadWriteBitmapData method for details and code samples. That method is for the GDI+ Bitmap type but the main principles apply for this method, too.
GetReadWriteBitmapData(SKBitmap, WorkingColorSpace, SKColor, Byte) Gets a managed read-write accessor for an SKBitmap instance.
See the Remarks section of the BitmapExtensions.GetReadWriteBitmapData method for details and code samples. That method is for the GDI+ Bitmap type but the main principles apply for this method, too.
GetWritableBitmapData(SKBitmap, SKColor, Byte) Gets a managed write-only accessor for an SKBitmap instance.
See the Remarks section of the BitmapExtensions.GetReadWriteBitmapData method for details and code samples. That method is for the GDI+ Bitmap type but the main principles apply for this method, too.
GetWritableBitmapData(SKBitmap, WorkingColorSpace, SKColor, Byte) Gets a managed write-only accessor for an SKBitmap instance.
See the Remarks section of the BitmapExtensions.GetReadWriteBitmapData method for details and code samples. That method is for the GDI+ Bitmap type but the main principles apply for this method, too.

See Also