ReadableBitmapDataExtensions Class

Provides extension methods for the IReadableBitmapData type.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 7.0.0-preview.3
C#
public static class ReadableBitmapDataExtensions
Inheritance
Object    ReadableBitmapDataExtensions

Remarks

  Note

When targeting .NET 7.0 or later versions this class is supported on Windows only.

Methods

BeginToBitmap(IReadableBitmapData, AsyncConfig) Begins to convert the specified source to a Bitmap asynchronously.
BeginToBitmap(IReadableBitmapData, PixelFormat, IQuantizer, IDitherer, AsyncConfig) Begins to convert the specified source to a Bitmap with a specific PixelFormat asynchronously.
EndToBitmap Waits for the pending asynchronous operation started by any of the BeginToBitmap methods to complete. In .NET Framework 4.0 and above you can use the ToBitmapAsync methods instead.
ToBitmap(IReadableBitmapData) Converts the specified source to a Bitmap.
ToBitmap(IReadableBitmapData, PixelFormat, IQuantizer, IDitherer) Converts the specified source to a Bitmap that has the specified PixelFormat.
ToBitmapAsync(IReadableBitmapData, TaskConfig) Converts the specified source to a Bitmap asynchronously.
ToBitmapAsync(IReadableBitmapData, PixelFormat, IQuantizer, IDitherer, TaskConfig) Converts the specified source to a Bitmap asynchronously.

See Also