BitmapDataExtensions Class

Provides extension methods for the IReadableBitmapData, IWritableBitmapData and IReadWriteBitmapData types.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.2.0
C#
public static class BitmapDataExtensions
Inheritance
Object    BitmapDataExtensions

Methods

AdjustBrightness Adjusts the brightness of the specified bitmapData.
AdjustBrightnessAsync Adjusts the brightness of the specified bitmapData asynchronously.
AdjustContrast Adjusts the contrast of the specified bitmapData.
AdjustContrastAsync Adjusts the contrast of the specified bitmapData asynchronously.
AdjustGamma Adjusts the gamma correction of the specified bitmapData.
AdjustGammaAsync Adjusts the gamma correction of the specified bitmapData asynchronously.
BeginAdjustBrightness Begins to adjust the brightness of the specified bitmapData asynchronously.
BeginAdjustContrast Begins to adjust the contrast of the specified bitmapData asynchronously.
BeginAdjustGamma Begins to adjust the gamma correction of the specified bitmapData asynchronously.
BeginClear Begins to clear the content of the specified bitmapData and fills it with the specified color asynchronously.
BeginClone(IReadableBitmapData, AsyncConfig) Begins to clone the specified source with identical size asynchronously.
BeginClone(IReadableBitmapData, WorkingColorSpace, AsyncConfig) Begins to clone the specified source with identical size asynchronously.
BeginClone(IReadableBitmapData, Rectangle, AsyncConfig) Begins to clone the specified portion of the specified source asynchronously.
BeginClone(IReadableBitmapData, KnownPixelFormat, Palette, NullableRectangle, AsyncConfig) Begins to clone the specified portion of source with the specified pixelFormat and palette asynchronously.
BeginClone(IReadableBitmapData, KnownPixelFormat, Color32, Byte, NullableRectangle, AsyncConfig) Begins to clone the specified portion of source with the specified pixelFormat and color settings asynchronously.
BeginClone(IReadableBitmapData, KnownPixelFormat, IQuantizer, IDitherer, NullableRectangle, AsyncConfig) Begins to clone the specified portion of source with the specified pixelFormat, using an optional quantizer and ditherer asynchronously.
BeginClone(IReadableBitmapData, KnownPixelFormat, WorkingColorSpace, Color32, Byte, NullableRectangle, AsyncConfig) Begins to clone the specified portion of source with the specified pixelFormat and color settings asynchronously.
BeginCopyTo Begins to copy the source IReadableBitmapData into the target IWritableBitmapData asynchronously, without scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the BeginDrawInto methods instead.
BeginDither Begins to quantize an IReadWriteBitmapData with dithering asynchronously (reduces the number of colors while trying to preserve details) using the specified quantizer and ditherer.
BeginDrawInto(IReadableBitmapData, IReadWriteBitmapData, NullableRectangle, NullablePoint, IQuantizer, IDitherer, AsyncConfig) Begins to draw the source IReadableBitmapData into the target IReadWriteBitmapData asynchronously, without scaling, using blending. This method always preserves the source size in pixels, works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. For scaling use the BeginDrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, IQuantizer, IDitherer, ScalingMode, AsyncConfig) overload. To copy a bitmap data into another one without blending use the BeginCopyTo method instead.
BeginDrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, IQuantizer, IDitherer, ScalingMode, AsyncConfig) Begins to draw the source IReadableBitmapData into the target IReadWriteBitmapData asynchronously, using scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the BeginCopyTo method instead.
BeginGetColorCount Gets the actual number of colors of the specified bitmapData asynchronously. Colors are counted even for indexed bitmaps.
BeginGetColors Begins to get the colors used in the specified bitmapData asynchronously. A limit can be defined in maxColors.
BeginInvert Begins to Invert the colors of the specified bitmapData asynchronously.
BeginMakeGrayscale Begins to make this bitmapData grayscale asynchronously.
BeginMakeOpaque Begins to make this bitmapData opaque asynchronously using the specified backColor.
BeginMakeTransparent(IReadWriteBitmapData, AsyncConfig) If possible, begins to make the background of this bitmapData transparent asynchronously, taking the bottom-left pixel as the background color. If the bitmapData does not support transparency, then the pixels that have the same color as the bottom-left pixel will be set to the BackColor of bitmapData.
BeginMakeTransparent(IReadWriteBitmapData, Color32, AsyncConfig) If possible, begins to make the background of this bitmapData transparent asynchronously, using transparentColor as the background color. If the bitmapData does not support transparency, then the pixels that have the same color as transparentColor will be set to the BackColor of bitmapData.
BeginQuantize Begins to quantize an IReadWriteBitmapData asynchronously, using the specified quantizer (reduces the number of colors).
BeginReplaceColor Begins to replace every oldColor occurrences to newColor in the specified bitmapData asynchronously.
BeginResize Begins to resize the specified source asynchronously.
BeginSave Begins to save the content of this bitmapData into the specified stream asynchronously.
BeginToGrayscale Begins to convert the specified bitmapData to grayscale asynchronously.
BeginToTransparent(IReadableBitmapData, AsyncConfig) Begins to convert the specified bitmapData to another one with transparent background asynchronously.
BeginToTransparent(IReadableBitmapData, Color32, AsyncConfig) Begins to convert the specified bitmapData to another one with transparent background asynchronously.
BeginTransformColors Begins to transform the colors of this bitmapData asynchronously, using the specified transformFunction delegate.
Clear(IWritableBitmapData, Color32, IDitherer) Clears the content of the specified bitmapData and fills it with the specified color.
Clear(IWritableBitmapData, Color32, IDitherer, ParallelConfig) Clears the content of the specified bitmapData and fills it with the specified color.
Clear(IWritableBitmapData, IAsyncContext, Color32, IDitherer) Clears the content of the specified bitmapData and fills it with the specified color, using a context that may belong to a higher level, possibly asynchronous operation.
ClearAsync Begins to clear the content of the specified bitmapData and fills it with the specified color asynchronously.
Clip(IReadableBitmapData, Rectangle) Clips the specified source using the specified clippingRegion. Unlike the Clone methods, this one returns a wrapper, providing access only to the specified region of the original source. This overload does not dispose source when the result is disposed.
See the Remarks section of the Clip(IReadableBitmapData, Rectangle, Boolean) overload for details.
Clip(IReadWriteBitmapData, Rectangle) Clips the specified source using the specified clippingRegion. Unlike the Clone methods, this one returns a wrapper, providing access only to the specified region of the original source. This overload does not dispose source when the result is disposed.
See the Remarks section of the Clip(IReadWriteBitmapData, Rectangle, Boolean) overload for details.
Clip(IWritableBitmapData, Rectangle) Clips the specified source using the specified clippingRegion. Unlike the Clone methods, this one returns a wrapper, providing access only to the specified region of the original source. This overload does not dispose source when the result is disposed.
See the Remarks section of the Clip(IWritableBitmapData, Rectangle, Boolean) overload for details.
Clip(IReadableBitmapData, Rectangle, Boolean) Clips the specified source using the specified clippingRegion. Unlike the Clone methods, this one returns a wrapper, providing access only to the specified region of the original source.
Clip(IReadWriteBitmapData, Rectangle, Boolean) Clips the specified source using the specified clippingRegion. Unlike the Clone methods, this one returns a wrapper, providing access only to the specified region of the original source.
Clip(IWritableBitmapData, Rectangle, Boolean) Clips the specified source using the specified clippingRegion. Unlike the Clone methods, this one returns a wrapper, providing access only to the specified region of the original source.
Clone(IReadableBitmapData) Gets the clone of the specified source with identical size.
Clone(IReadableBitmapData, WorkingColorSpace) Gets the clone of the specified source with identical size.
Clone(IReadableBitmapData, ParallelConfig) Gets the clone of the specified source with identical size.
Clone(IReadableBitmapData, Rectangle) Gets the clone of the specified portion of source.
Clone(IReadableBitmapData, KnownPixelFormat, IDitherer) Gets the clone of the specified source with identical size and the specified pixelFormat, using an optional ditherer.
Clone(IReadableBitmapData, KnownPixelFormat, Palette) Gets the clone of the specified source with identical size and the specified pixelFormat and palette.
Clone(IReadableBitmapData, WorkingColorSpace, ParallelConfig) Gets the clone of the specified source with identical size.
Clone(IReadableBitmapData, IAsyncContext, NullableRectangle) Gets the clone of the specified portion of source, using a context that may belong to a higher level, possibly asynchronous operation.
Clone(IReadableBitmapData, Rectangle, ParallelConfig) Gets the clone of the specified portion of source.
Clone(IReadableBitmapData, KnownPixelFormat, Color32, Byte) Gets the clone of the specified source with identical size and the specified pixelFormat and color settings.
Clone(IReadableBitmapData, KnownPixelFormat, IQuantizer, IDitherer) Gets the clone of the specified source with identical size and the specified pixelFormat, using an optional quantizer and ditherer.
Clone(IReadableBitmapData, KnownPixelFormat, Palette, ParallelConfig) Gets the clone of the specified source with identical size and the specified pixelFormat and palette.
Clone(IReadableBitmapData, Rectangle, KnownPixelFormat, IDitherer) Gets the clone of the specified portion of source with the specified pixelFormat, using an optional ditherer.
Clone(IReadableBitmapData, Rectangle, KnownPixelFormat, Palette) Gets the clone of the specified portion of source with the specified pixelFormat and palette.
Clone(IReadableBitmapData, KnownPixelFormat, Color32, Byte, ParallelConfig) Gets the clone of the specified source with identical size and the specified pixelFormat and color settings.
Clone(IReadableBitmapData, KnownPixelFormat, IQuantizer, IDitherer, ParallelConfig) Gets the clone of the specified source with identical size and the specified pixelFormat, using an optional quantizer and ditherer.
Clone(IReadableBitmapData, KnownPixelFormat, WorkingColorSpace, Color32, Byte) Gets the clone of the specified source with identical size and the specified pixelFormat and color settings.
Clone(IReadableBitmapData, IAsyncContext, KnownPixelFormat, Palette, NullableRectangle) Gets the clone of the specified portion of source with the specified pixelFormat and palette, using a context that may belong to a higher level, possibly asynchronous operation.
Clone(IReadableBitmapData, Rectangle, KnownPixelFormat, Color32, Byte) Gets the clone of the specified portion of source with the specified pixelFormat and color settings.
Clone(IReadableBitmapData, Rectangle, KnownPixelFormat, IQuantizer, IDitherer) Gets the clone of the specified portion of source with the specified pixelFormat, using an optional quantizer and ditherer.
Clone(IReadableBitmapData, Rectangle, KnownPixelFormat, Palette, ParallelConfig) Gets the clone of the specified portion of source with the specified pixelFormat and palette.
Clone(IReadableBitmapData, KnownPixelFormat, WorkingColorSpace, Color32, Byte, ParallelConfig) Gets the clone of the specified source with identical size and the specified pixelFormat and color settings.
Clone(IReadableBitmapData, IAsyncContext, KnownPixelFormat, Color32, Byte, NullableRectangle) Gets the clone of the specified portion of source with the specified pixelFormat and color settings, using a context that may belong to a higher level, possibly asynchronous operation.
Clone(IReadableBitmapData, IAsyncContext, KnownPixelFormat, IQuantizer, IDitherer, NullableRectangle) Gets the clone of the specified portion of source with the specified pixelFormat, using an optional quantizer and ditherer, along with a context that may belong to a higher level, possibly asynchronous operation.
Clone(IReadableBitmapData, Rectangle, KnownPixelFormat, Color32, Byte, ParallelConfig) Gets the clone of the specified portion of source with the specified pixelFormat and color settings.
Clone(IReadableBitmapData, Rectangle, KnownPixelFormat, IQuantizer, IDitherer, ParallelConfig) Gets the clone of the specified portion of source with the specified pixelFormat, using an optional quantizer and ditherer.
Clone(IReadableBitmapData, Rectangle, KnownPixelFormat, WorkingColorSpace, Color32, Byte) Gets the clone of the specified portion of source with the specified pixelFormat and color settings.
Clone(IReadableBitmapData, IAsyncContext, KnownPixelFormat, WorkingColorSpace, Color32, Byte, NullableRectangle) Gets the clone of the specified portion of source with the specified pixelFormat and color settings, using a context that may belong to a higher level, possibly asynchronous operation.
Clone(IReadableBitmapData, Rectangle, KnownPixelFormat, WorkingColorSpace, Color32, Byte, ParallelConfig) Gets the clone of the specified portion of source with the specified pixelFormat and color settings.
CloneAsync(IReadableBitmapData, TaskConfig) Gets the clone of the specified source with identical size asynchronously.
CloneAsync(IReadableBitmapData, WorkingColorSpace, TaskConfig) Gets the clone of the specified source with identical size asynchronously.
CloneAsync(IReadableBitmapData, Rectangle, TaskConfig) Gets the clone of the specified portion of the specified source asynchronously.
CloneAsync(IReadableBitmapData, KnownPixelFormat, Palette, NullableRectangle, TaskConfig) Gets the clone of the specified portion of source with the specified pixelFormat and palette asynchronously.
CloneAsync(IReadableBitmapData, KnownPixelFormat, Color32, Byte, NullableRectangle, TaskConfig) Gets the clone of the specified portion of source with the specified pixelFormat and color settings asynchronously.
CloneAsync(IReadableBitmapData, KnownPixelFormat, IQuantizer, IDitherer, NullableRectangle, TaskConfig) Gets the clone of the specified portion of source with the specified pixelFormat, using an optional quantizer and ditherer asynchronously.
CloneAsync(IReadableBitmapData, KnownPixelFormat, WorkingColorSpace, Color32, Byte, NullableRectangle, TaskConfig) Gets the clone of the specified portion of source with the specified pixelFormat and color settings asynchronously.
CopyTo(IReadableBitmapData, IWritableBitmapData, Point, IDitherer) Copies the source IReadableBitmapData into the target IWritableBitmapData without scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawInto methods instead.
CopyTo(IReadableBitmapData, IWritableBitmapData, Point, IQuantizer, IDitherer) Copies the source IReadableBitmapData into the target IWritableBitmapData without scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawInto methods instead.
CopyTo(IReadableBitmapData, IWritableBitmapData, Rectangle, Point, IDitherer) Copies the source IReadableBitmapData into the target IWritableBitmapData without scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawInto methods instead.
CopyTo(IReadableBitmapData, IWritableBitmapData, Point, IQuantizer, IDitherer, ParallelConfig) Copies the source IReadableBitmapData into the target IWritableBitmapData without scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawInto methods instead.
CopyTo(IReadableBitmapData, IWritableBitmapData, Rectangle, Point, IQuantizer, IDitherer) Copies the source IReadableBitmapData into the target IWritableBitmapData without scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawInto methods instead.
CopyTo(IReadableBitmapData, IWritableBitmapData, IAsyncContext, Rectangle, Point, IQuantizer, IDitherer) Copies the source IReadableBitmapData into the target IWritableBitmapData without scaling and blending, using a context that may belong to a higher level, possibly asynchronous operation.
CopyTo(IReadableBitmapData, IWritableBitmapData, Rectangle, Point, IQuantizer, IDitherer, ParallelConfig) Copies the source IReadableBitmapData into the target IWritableBitmapData without scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawInto methods instead.
CopyToAsync Copies the source IReadableBitmapData into the target IWritableBitmapData asynchronously, without scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawIntoAsync methods instead.
Dither(IReadWriteBitmapData, IQuantizer, IDitherer) Quantizes an IReadWriteBitmapData with dithering (reduces the number of colors while trying to preserve details) using the specified quantizer and ditherer.
Dither(IReadWriteBitmapData, IQuantizer, IDitherer, ParallelConfig) Quantizes an IReadWriteBitmapData with dithering (reduces the number of colors while trying to preserve details) using the specified quantizer and ditherer.
Dither(IReadWriteBitmapData, IAsyncContext, IQuantizer, IDitherer) Quantizes an IReadWriteBitmapData with the specified quantizer and ditherer, using a context that may belong to a higher level, possibly asynchronous operation.
DitherAsync Quantizes an IReadWriteBitmapData with dithering asynchronously (reduces the number of colors while trying to preserve details) using the specified quantizer and ditherer.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Point, IDitherer) Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using blending. This method always preserves the source size in pixels, works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. For scaling use the overloads with targetRectangle and ScalingMode parameters. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, ScalingMode) Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Point, IQuantizer, IDitherer) Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using blending. This method always preserves the source size in pixels, works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. For scaling use the overloads with targetRectangle and ScalingMode parameters. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, IDitherer, ScalingMode) Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Point, IDitherer) Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using blending. This method always preserves the source size in pixels, works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. For scaling use the overloads with targetRectangle and ScalingMode parameters. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, ScalingMode) Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Point, IQuantizer, IDitherer, ParallelConfig) Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using blending. This method always preserves the source size in pixels, works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. For scaling use the overloads with targetRectangle and ScalingMode parameters. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, IQuantizer, IDitherer, ScalingMode) Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Point, IQuantizer, IDitherer) Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using blending. This method always preserves the source size in pixels, works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. For scaling use the overloads with targetRectangle and ScalingMode parameters. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, IDitherer, ScalingMode) Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, IAsyncContext, Rectangle, Point, IQuantizer, IDitherer) Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using a context that may belong to a higher level, possibly asynchronous operation.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, IQuantizer, IDitherer, ScalingMode, ParallelConfig) Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Point, IQuantizer, IDitherer, ParallelConfig) Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using blending. This method always preserves the source size in pixels, works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. For scaling use the overloads with targetRectangle and ScalingMode parameters. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, IQuantizer, IDitherer, ScalingMode) Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, IAsyncContext, Rectangle, Rectangle, IQuantizer, IDitherer, ScalingMode) Draws the source IReadableBitmapData into the target IReadWriteBitmapData with scaling and blending, using a context that may belong to a higher level, possibly asynchronous operation.
DrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, IQuantizer, IDitherer, ScalingMode, ParallelConfig) Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyTo methods instead.
DrawIntoAsync(IReadableBitmapData, IReadWriteBitmapData, NullableRectangle, NullablePoint, IQuantizer, IDitherer, TaskConfig) Draws the source IReadableBitmapData into the target IReadWriteBitmapData asynchronously, without scaling, using blending. This method always preserves the source size in pixels, works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. For scaling use the DrawIntoAsync(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, IQuantizer, IDitherer, ScalingMode, TaskConfig) overload. To copy a bitmap data into another one without blending use the CopyToAsync method instead.
DrawIntoAsync(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, IQuantizer, IDitherer, ScalingMode, TaskConfig) Draws the source IReadableBitmapData into the target IReadWriteBitmapData asynchronously, using scaling and blending. This method works between any pair of source and target KnownPixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyToAsync method instead.
EndAdjustBrightness Waits for the pending asynchronous operation started by the BeginAdjustBrightness method to complete. In .NET Framework 4.0 and above you can use the AdjustBrightnessAsync method instead.
EndAdjustContrast Waits for the pending asynchronous operation started by the BeginAdjustContrast method to complete. In .NET Framework 4.0 and above you can use the AdjustContrastAsync method instead.
EndAdjustGamma Waits for the pending asynchronous operation started by the BeginAdjustGamma method to complete. In .NET Framework 4.0 and above you can use the AdjustGammaAsync method instead.
EndClear Waits for the pending asynchronous operation started by the BeginClear method to complete. In .NET Framework 4.0 and above you can use the ClearAsync method instead.
EndClone Waits for the pending asynchronous operation started by the BeginClone methods to complete. In .NET Framework 4.0 and above you can use the CloneAsync methods instead.
EndCopyTo Waits for the pending asynchronous operation started by the BeginCopyTo method to complete. In .NET Framework 4.0 and above you can use the CopyToAsync method instead.
EndDither Waits for the pending asynchronous operation started by the BeginDither method to complete. In .NET Framework 4.0 and above you can use the QuantizeAsync method instead.
EndDrawInto Waits for the pending asynchronous operation started by the BeginDrawInto methods to complete. In .NET Framework 4.0 and above you can use the DrawIntoAsync methods instead.
EndGetColorCount Waits for the pending asynchronous operation started by the BeginGetColorCount method to complete. In .NET Framework 4.0 and above you can use the GetColorCountAsync method instead.
EndGetColors Waits for the pending asynchronous operation started by the BeginGetColors method to complete. In .NET Framework 4.0 and above you can use the GetColorsAsync method instead.
EndInvert Waits for the pending asynchronous operation started by the BeginInvert method to complete. In .NET Framework 4.0 and above you can use the InvertAsync method instead.
EndMakeGrayscale Waits for the pending asynchronous operation started by the BeginMakeGrayscale method to complete. In .NET Framework 4.0 and above you can use the MakeGrayscaleAsync method instead.
EndMakeOpaque Waits for the pending asynchronous operation started by the BeginMakeOpaque method to complete. In .NET Framework 4.0 and above you can use the MakeOpaqueAsync method instead.
EndMakeTransparent Waits for the pending asynchronous operation started by the BeginMakeTransparent methods to complete. In .NET Framework 4.0 and above you can use the MakeTransparentAsync methods instead.
EndQuantize Waits for the pending asynchronous operation started by the BeginQuantize method to complete. In .NET Framework 4.0 and above you can use the QuantizeAsync method instead.
EndReplaceColor Waits for the pending asynchronous operation started by the BeginReplaceColor method to complete. In .NET Framework 4.0 and above you can use the ReplaceColorAsync method instead.
EndResize Waits for the pending asynchronous operation started by the BeginResize method to complete. In .NET Framework 4.0 and above you can use the ResizeAsync method instead.
EndSave Waits for the pending asynchronous operation started by the BeginSave method to complete. In .NET Framework 4.0 and above you can use the SaveAsync method instead.
EndToGrayscale Waits for the pending asynchronous operation started by the BeginToGrayscale method to complete. In .NET Framework 4.0 and above you can use the ToGrayscaleAsync method instead.
EndToTransparent Waits for the pending asynchronous operation started by the BeginToTransparent methods to complete. In .NET Framework 4.0 and above you can use the ToTransparentAsync methods instead.
EndTransformColors Waits for the pending asynchronous operation started by the BeginTransformColors method to complete. In .NET Framework 4.0 and above you can use the TransformColorsAsync method instead.
GetColorCount Gets the actual number of colors of the specified bitmapData. Colors are counted even for indexed bitmaps.
GetColorCountAsync Gets the actual number of colors of the specified bitmapData asynchronously. Colors are counted even for indexed bitmaps.
GetColors Gets the colors used in the specified bitmapData. A limit can be defined in maxColors.
GetColorsAsync Gets the colors used in the specified bitmapData asynchronously. A limit can be defined in maxColors.
GetPreferredColorSpace Gets a non-default WorkingColorSpace that can be used when working with the specified bitmapData.
Invert Inverts the colors of the specified bitmapData.
InvertAsync Inverts the colors of the specified bitmapData asynchronously.
MakeGrayscale Makes this bitmapData grayscale.
MakeGrayscaleAsync Makes this bitmapData grayscale asynchronously.
MakeOpaque Makes this bitmapData opaque using the specified backColor.
MakeOpaqueAsync Makes this bitmapData opaque asynchronously using the specified backColor.
MakeTransparent(IReadWriteBitmapData) If possible, makes the background of this bitmapData transparent, taking the bottom-left pixel as the background color. If the bitmapData does not support transparency, then the pixels that have the same color as the bottom-left pixel will be set to the BackColor of bitmapData.
MakeTransparent(IReadWriteBitmapData, Color32) If possible, makes the background of this bitmapData transparent, using transparentColor as the background color. If the bitmapData does not support transparency, then the pixels that have the same color as transparentColor will be set to the BackColor of bitmapData.
MakeTransparentAsync(IReadWriteBitmapData, TaskConfig) If possible, makes the background of this bitmapData transparent asynchronously, taking the bottom-left pixel as the background color. If the bitmapData does not support transparency, then the pixels that have the same color as the bottom-left pixel will be set to the BackColor of bitmapData.
MakeTransparentAsync(IReadWriteBitmapData, Color32, TaskConfig) If possible, makes the background of this bitmapData transparent asynchronously, using transparentColor as the background color. If the bitmapData does not support transparency, then the pixels that have the same color as transparentColor will be set to the BackColor of bitmapData.
Quantize(IReadWriteBitmapData, IQuantizer) Quantizes an IReadWriteBitmapData using the specified quantizer (reduces the number of colors).
Quantize(IReadWriteBitmapData, IQuantizer, ParallelConfig) Quantizes an IReadWriteBitmapData using the specified quantizer (reduces the number of colors).
Quantize(IReadWriteBitmapData, IAsyncContext, IQuantizer) Quantizes an IReadWriteBitmapData with the specified quantizer (reduces the number of colors), using a context that may belong to a higher level, possibly asynchronous operation.
QuantizeAsync Quantizes an IReadWriteBitmapData asynchronously, using the specified quantizer (reduces the number of colors).
ReplaceColor Replaces every oldColor occurrences to newColor in the specified bitmapData.
ReplaceColorAsync Replaces every oldColor occurrences to newColor in the specified bitmapData asynchronously.
Resize Resizes the specified source.
ResizeAsync Resizes the specified source asynchronously.
Save Saves the content of this bitmapData into the specified stream.
SaveAsync Saves the content of this bitmapData into the specified stream asynchronously.
ToGrayscale Returns a new IReadWriteBitmapData, which is the grayscale version of the specified bitmapData.
ToGrayscaleAsync Returns a new IReadWriteBitmapData asynchronously, which is the grayscale version of the specified bitmapData.
ToTransparent(IReadableBitmapData) Returns a new IReadWriteBitmapData, which is the clone of the specified bitmapData with transparent background.
ToTransparent(IReadableBitmapData, Color32) Returns a new IReadWriteBitmapData, which is the clone of the specified bitmapData with transparent background.
ToTransparentAsync(IReadableBitmapData, TaskConfig) Returns a new IReadWriteBitmapData asynchronously, which is the clone of the specified bitmapData with transparent background.
ToTransparentAsync(IReadableBitmapData, Color32, TaskConfig) Returns a new IReadWriteBitmapData asynchronously, which is the clone of the specified bitmapData with transparent background.
TransformColors(IReadWriteBitmapData, FuncColor32, Color32) Transforms the colors of this bitmapData using the specified transformFunction delegate.
TransformColors(IReadWriteBitmapData, FuncColor32, Color32, IDitherer) Transforms the colors of this bitmapData using the specified transformFunction delegate.
TransformColors(IReadWriteBitmapData, IAsyncContext, FuncColor32, Color32, IDitherer) Transforms the colors of this bitmapData using the specified transformFunction delegate and a context that may belong to a higher level, possibly asynchronous operation.
TransformColors(IReadWriteBitmapData, FuncColor32, Color32, IDitherer, ParallelConfig) Transforms the colors of this bitmapData using the specified transformFunction delegate.
TransformColorsAsync Transforms the colors of this bitmapData asynchronously, using the specified transformFunction delegate.
TrySetPalette Tries to the set the specified palette for this IWritableBitmapData.

See Also