BitmapDataExtensions Class

KGy SOFT Drawing Libraries Help
Provides extension methods for the IReadableBitmapData, IWritableBitmapData and IReadWriteBitmapData types.
Inheritance Hierarchy

SystemObject
  KGySoft.Drawing.ImagingBitmapDataExtensions

Namespace:  KGySoft.Drawing.Imaging
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 5.3.0
Syntax

public static class BitmapDataExtensions

The BitmapDataExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAdjustBrightness
Adjusts the brightness of the specified bitmapData.
See the Remarks section for details.
Public methodStatic memberAdjustBrightnessAsync
Adjusts the brightness of the specified bitmapData asynchronously.
See the Remarks section for details.
Public methodStatic memberAdjustContrast
Adjusts the contrast of the specified bitmapData.
See the Remarks section for details.
Public methodStatic memberAdjustContrastAsync
Adjusts the contrast of the specified bitmapData asynchronously.
See the Remarks section for details.
Public methodStatic memberAdjustGamma
Adjusts the gamma correction of the specified bitmapData.
See the Remarks section for details.
Public methodStatic memberAdjustGammaAsync
Adjusts the gamma correction of the specified bitmapData asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginAdjustBrightness
Begins to adjust the brightness of the specified bitmapData asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginAdjustContrast
Begins to adjust the contrast of the specified bitmapData asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginAdjustGamma
Begins to adjust the gamma correction of the specified bitmapData asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginClear
Begins to clear the content of the specified bitmapData and fills it with the specified color asynchronously.
This method is similar to Graphics.Clear except that this one supports any PixelFormat and also dithering.
See the Remarks section for details.
Public methodStatic memberBeginClone(IReadableBitmapData, AsyncConfig)
Begins to clone the specified source with identical size and pixel format asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginClone(IReadableBitmapData, PixelFormat, Palette, NullableRectangle, AsyncConfig)
Begins to clone the specified portion of source with the specified pixelFormat and palette asynchronously. This method is similar to BeginConvertPixelFormat(Image, PixelFormat, Color, Color, Byte, AsyncConfig) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberBeginClone(IReadableBitmapData, PixelFormat, Color32, Byte, NullableRectangle, AsyncConfig)
Begins to clone the specified portion of source with the specified pixelFormat and color settings asynchronously. This method is similar to BeginConvertPixelFormat(Image, PixelFormat, Color, Byte, AsyncConfig) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberBeginClone(IReadableBitmapData, PixelFormat, IQuantizer, IDitherer, NullableRectangle, AsyncConfig)
Begins to clone the specified portion of source with the specified pixelFormat, using an optional quantizer and ditherer asynchronously. This method is similar to BeginConvertPixelFormat(Image, PixelFormat, IQuantizer, IDitherer, AsyncConfig) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberBeginCopyTo
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 PixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the BeginDrawInto methods instead.
See the Remarks section for details.
Public methodStatic memberBeginDither
Begins to quantize an IReadWriteBitmapData with dithering asynchronously (reduces the number of colors while trying to preserve details) using the specified quantizer and ditherer.
See the Remarks section for details.
Public methodStatic memberBeginDrawInto(IReadableBitmapData, IReadWriteBitmapData, NullableRectangle, NullablePoint, IQuantizer, IDitherer, AsyncConfig)
Begins to draw the source IReadableBitmapData into the target IReadWriteBitmapData asynchronously, without scaling, using blending. This method is similar to Graphics.DrawImage methods, except that this one always preserves the source size in pixels, works between any pair of source and target PixelFormats 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.
See the Remarks section for details.
Public methodStatic memberBeginDrawInto(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 is similar to Graphics.DrawImage methods, except that this one works between any pair of source and target PixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the BeginCopyTo method instead.
See the Remarks section for details.
Public methodStatic memberBeginGetColorCount
Gets the actual number of colors of the specified bitmapData asynchronously. Colors are counted even for indexed bitmaps.
See the Remarks section for details.
Public methodStatic memberBeginGetColors
Begins to get the colors used in the specified bitmapData asynchronously. A limit can be defined in maxColors.
See the Remarks section for details.
Public methodStatic memberBeginInvert
Begins to Invert the colors of the specified bitmapData asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginMakeGrayscale
Begins to make this bitmapData grayscale asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginMakeOpaque
Begins to make this bitmapData opaque asynchronously using the specified backColor.
See the Remarks section for details.
Public methodStatic memberBeginMakeTransparent(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.
See the Remarks section for details.
Public methodStatic memberBeginMakeTransparent(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.
See the Remarks section for details.
Public methodStatic memberBeginQuantize
Begins to quantize an IReadWriteBitmapData asynchronously, using the specified quantizer (reduces the number of colors).
See the Remarks section for details.
Public methodStatic memberBeginReplaceColor
Begins to replace every oldColor occurrences to newColor in the specified bitmapData asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginSave
Begins to save the content of this bitmapData into the specified stream asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginToBitmap
Begins to convert the specified source to a Bitmap asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginToGrayscale
Begins to convert the specified bitmapData to grayscale asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginToTransparent(IReadableBitmapData, AsyncConfig)
Begins to convert the specified bitmapData to another one with transparent background asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginToTransparent(IReadableBitmapData, Color32, AsyncConfig)
Begins to convert the specified bitmapData to another one with transparent background asynchronously.
See the Remarks section for details.
Public methodStatic memberBeginTransformColors
Begins to transform the colors of this bitmapData asynchronously, using the specified transformFunction delegate.
See the Remarks section for details.
Public methodStatic memberClear
Clears the content of the specified bitmapData and fills it with the specified color.
This method is similar to Graphics.Clear except that this one supports any PixelFormat and also dithering.
Public methodStatic memberClearAsync
Begins to clear the content of the specified bitmapData and fills it with the specified color asynchronously.
This method is similar to Graphics.Clear except that this one supports any PixelFormat and also dithering.
Public methodStatic memberClip(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.
See the Remarks section for details.
Public methodStatic memberClip(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.
See the Remarks section for details.
Public methodStatic memberClip(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.
See the Remarks section for details.
Public methodStatic memberClone(IReadableBitmapData)
Gets the clone of the specified source with identical size and pixel format.
Public methodStatic memberClone(IReadableBitmapData, PixelFormat, IDitherer)
Gets the clone of the specified source with identical size and the specified pixelFormat, using an optional ditherer. This method is similar to ConvertPixelFormat(Image, PixelFormat, IQuantizer, IDitherer) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberClone(IReadableBitmapData, PixelFormat, Palette)
Gets the clone of the specified source with identical size and the specified pixelFormat and palette. This method is similar to ConvertPixelFormat(Image, PixelFormat, Color, Color, Byte) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberClone(IReadableBitmapData, PixelFormat, Color32, Byte)
Gets the clone of the specified source with identical size and the specified pixelFormat and color settings. This method is similar to ConvertPixelFormat(Image, PixelFormat, Color, Color, Byte) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberClone(IReadableBitmapData, PixelFormat, IQuantizer, IDitherer)
Gets the clone of the specified source with identical size and the specified pixelFormat, using an optional quantizer and ditherer. This method is similar to ConvertPixelFormat(Image, PixelFormat, IQuantizer, IDitherer) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberClone(IReadableBitmapData, Rectangle, PixelFormat, IDitherer)
Gets the clone of the specified portion of source with the specified pixelFormat, using an optional ditherer. This method is similar to ConvertPixelFormat(Image, PixelFormat, IQuantizer, IDitherer) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberClone(IReadableBitmapData, Rectangle, PixelFormat, Palette)
Gets the clone of the specified portion of source with the specified pixelFormat and palette. This method is similar to ConvertPixelFormat(Image, PixelFormat, Color, Color, Byte) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberClone(IReadableBitmapData, Rectangle, PixelFormat, Color32, Byte)
Gets the clone of the specified portion of source with the specified pixelFormat and color settings. This method is similar to ConvertPixelFormat(Image, PixelFormat, Color, Color, Byte) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberClone(IReadableBitmapData, Rectangle, PixelFormat, IQuantizer, IDitherer)
Gets the clone of the specified portion of source with the specified pixelFormat, using an optional quantizer and ditherer. This method is similar to ConvertPixelFormat(Image, PixelFormat, IQuantizer, IDitherer) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberCloneAsync(IReadableBitmapData, TaskConfig)
Gets the clone of the specified source with identical size and pixel format asynchronously.
See the Remarks section for details.
Public methodStatic memberCloneAsync(IReadableBitmapData, PixelFormat, Palette, NullableRectangle, TaskConfig)
Gets the clone of the specified portion of source with the specified pixelFormat and palette asynchronously. This method is similar to ConvertPixelFormatAsync(Image, PixelFormat, Color, Color, Byte, TaskConfig) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberCloneAsync(IReadableBitmapData, PixelFormat, Color32, Byte, NullableRectangle, TaskConfig)
Gets the clone of the specified portion of source with the specified pixelFormat and color settings asynchronously. This method is similar to ConvertPixelFormatAsync(Image, PixelFormat, Color, Byte, TaskConfig) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberCloneAsync(IReadableBitmapData, PixelFormat, IQuantizer, IDitherer, NullableRectangle, TaskConfig)
Gets the clone of the specified portion of source with the specified pixelFormat, using an optional quantizer and ditherer asynchronously. This method is similar to ConvertPixelFormatAsync(Image, PixelFormat, IQuantizer, IDitherer, TaskConfig) but as the result is a managed IReadWriteBitmapData instance every PixelFormat is supported on any platform.
See the Remarks section for details.
Public methodStatic memberCopyTo(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 PixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawInto methods instead.
See the Remarks section for details.
Public methodStatic memberCopyTo(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 PixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawInto methods instead.
See the Remarks section for details.
Public methodStatic memberCopyTo(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 PixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawInto methods instead.
See the Remarks section for details.
Public methodStatic memberCopyTo(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 PixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawInto methods instead.
See the Remarks section for details.
Public methodStatic memberCopyToAsync
Copies the source IReadableBitmapData into the target IWritableBitmapData asynchronously, without scaling and blending. This method works between any pair of source and target PixelFormats and supports quantizing and dithering. To draw a bitmap data into another one with blending use the DrawIntoAsync methods instead.
See the Remarks section for details.
Public methodStatic memberDither
Quantizes an IReadWriteBitmapData with dithering (reduces the number of colors while trying to preserve details) using the specified quantizer and ditherer.
See the Remarks section for details.
Public methodStatic memberDitherAsync
Quantizes an IReadWriteBitmapData with dithering asynchronously (reduces the number of colors while trying to preserve details) using the specified quantizer and ditherer.
See the Remarks section for details.
Public methodStatic memberDrawInto(IReadableBitmapData, IReadWriteBitmapData, Point, IDitherer)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using blending. This method is similar to Graphics.DrawImage methods, except that this one always preserves the source size in pixels, works between any pair of source and target PixelFormats 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.
See the Remarks section for details.
Public methodStatic memberDrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, ScalingMode)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method is similar to Graphics.DrawImage methods, except that this one works between any pair of source and target PixelFormats and supports quantizing. To copy a bitmap data into another one without blending use the CopyTo methods instead.
See the Remarks section for details.
Public methodStatic memberDrawInto(IReadableBitmapData, IReadWriteBitmapData, Point, IQuantizer, IDitherer)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using blending. This method is similar to Graphics.DrawImage methods, except that this one always preserves the source size in pixels, works between any pair of source and target PixelFormats 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.
See the Remarks section for details.
Public methodStatic memberDrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, IDitherer, ScalingMode)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method is similar to Graphics.DrawImage methods, except that this one works between any pair of source and target PixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyTo methods instead.
See the Remarks section for details.
Public methodStatic memberDrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Point, IDitherer)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using blending. This method is similar to Graphics.DrawImage methods, except that this one always preserves the source size in pixels, works between any pair of source and target PixelFormats 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.
See the Remarks section for details.
Public methodStatic memberDrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, ScalingMode)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method is similar to Graphics.DrawImage methods, except that this one works between any pair of source and target PixelFormats and supports quantizing. To copy a bitmap data into another one without blending use the CopyTo methods instead.
See the Remarks section for details.
Public methodStatic memberDrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, IQuantizer, IDitherer, ScalingMode)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method is similar to Graphics.DrawImage methods, except that this one works between any pair of source and target PixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyTo methods instead.
See the Remarks section for details.
Public methodStatic memberDrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Point, IQuantizer, IDitherer)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData without scaling, using blending. This method is similar to Graphics.DrawImage methods, except that this one always preserves the source size in pixels, works between any pair of source and target PixelFormats 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.
See the Remarks section for details.
Public methodStatic memberDrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, IDitherer, ScalingMode)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method is similar to Graphics.DrawImage methods, except that this one works between any pair of source and target PixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyTo methods instead.
See the Remarks section for details.
Public methodStatic memberDrawInto(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, IQuantizer, IDitherer, ScalingMode)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData using scaling and blending. This method is similar to Graphics.DrawImage methods, except that this one works between any pair of source and target PixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyTo methods instead.
See the Remarks section for details.
Public methodStatic memberDrawIntoAsync(IReadableBitmapData, IReadWriteBitmapData, NullableRectangle, NullablePoint, IQuantizer, IDitherer, TaskConfig)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData asynchronously, without scaling, using blending. This method is similar to Graphics.DrawImage methods, except that this one always preserves the source size in pixels, works between any pair of source and target PixelFormats 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.
See the Remarks section for details.
Public methodStatic memberDrawIntoAsync(IReadableBitmapData, IReadWriteBitmapData, Rectangle, Rectangle, IQuantizer, IDitherer, ScalingMode, TaskConfig)
Draws the source IReadableBitmapData into the target IReadWriteBitmapData asynchronously, using scaling and blending. This method is similar to Graphics.DrawImage methods, except that this one works between any pair of source and target PixelFormats and supports quantizing and dithering. To copy a bitmap data into another one without blending use the CopyToAsync method instead.
See the Remarks section for details.
Public methodStatic memberEndAdjustBrightness
Waits for the pending asynchronous operation started by the BeginAdjustBrightness method to complete. In .NET 4.0 and above you can use the AdjustBrightnessAsync method instead.
Public methodStatic memberEndAdjustContrast
Waits for the pending asynchronous operation started by the BeginAdjustContrast method to complete. In .NET 4.0 and above you can use the AdjustContrastAsync method instead.
Public methodStatic memberEndAdjustGamma
Waits for the pending asynchronous operation started by the BeginAdjustGamma method to complete. In .NET 4.0 and above you can use the AdjustGammaAsync method instead.
Public methodStatic memberEndClear
Waits for the pending asynchronous operation started by the BeginClear method to complete. In .NET 4.0 and above you can use the ClearAsync method instead.
Public methodStatic memberEndClone
Waits for the pending asynchronous operation started by the BeginClone methods to complete. In .NET 4.0 and above you can use the CloneAsync methods instead.
Public methodStatic memberEndCopyTo
Waits for the pending asynchronous operation started by the BeginCopyTo method to complete. In .NET 4.0 and above you can use the CopyToAsync method instead.
Public methodStatic memberEndDither
Waits for the pending asynchronous operation started by the BeginDither method to complete. In .NET 4.0 and above you can use the QuantizeAsync method instead.
Public methodStatic memberEndDrawInto
Waits for the pending asynchronous operation started by the BeginDrawInto methods to complete. In .NET 4.0 and above you can use the DrawIntoAsync methods instead.
Public methodStatic memberEndGetColorCount
Waits for the pending asynchronous operation started by the BeginGetColorCount method to complete. In .NET 4.0 and above you can use the GetColorCountAsync method instead.
Public methodStatic memberEndGetColors
Waits for the pending asynchronous operation started by the BeginGetColors method to complete. In .NET 4.0 and above you can use the GetColorsAsync method instead.
Public methodStatic memberEndInvert
Waits for the pending asynchronous operation started by the BeginInvert method to complete. In .NET 4.0 and above you can use the InvertAsync method instead.
Public methodStatic memberEndMakeGrayscale
Waits for the pending asynchronous operation started by the BeginMakeGrayscale method to complete. In .NET 4.0 and above you can use the MakeGrayscaleAsync method instead.
Public methodStatic memberEndMakeOpaque
Waits for the pending asynchronous operation started by the BeginMakeOpaque method to complete. In .NET 4.0 and above you can use the MakeOpaqueAsync method instead.
Public methodStatic memberEndMakeTransparent
Waits for the pending asynchronous operation started by the BeginMakeTransparent methods to complete. In .NET 4.0 and above you can use the MakeTransparentAsync methods instead.
Public methodStatic memberEndQuantize
Waits for the pending asynchronous operation started by the BeginQuantize method to complete. In .NET 4.0 and above you can use the QuantizeAsync method instead.
Public methodStatic memberEndReplaceColor
Waits for the pending asynchronous operation started by the BeginReplaceColor method to complete. In .NET 4.0 and above you can use the ReplaceColorAsync method instead.
Public methodStatic memberEndSave
Waits for the pending asynchronous operation started by the BeginSave method to complete. In .NET 4.0 and above you can use the SaveAsync method instead.
Public methodStatic memberEndToBitmap
Waits for the pending asynchronous operation started by the BeginToBitmap method to complete. In .NET 4.0 and above you can use the ToBitmapAsync method instead.
Public methodStatic memberEndToGrayscale
Waits for the pending asynchronous operation started by the BeginToGrayscale method to complete. In .NET 4.0 and above you can use the ToGrayscaleAsync method instead.
Public methodStatic memberEndToTransparent
Waits for the pending asynchronous operation started by the BeginToTransparent methods to complete. In .NET 4.0 and above you can use the ToTransparentAsync methods instead.
Public methodStatic memberEndTransformColors
Waits for the pending asynchronous operation started by the BeginTransformColors method to complete. In .NET 4.0 and above you can use the TransformColorsAsync method instead.
Public methodStatic memberGetColorCount
Gets the actual number of colors of the specified bitmapData. Colors are counted even for indexed bitmaps.
See the Remarks section for details.
Public methodStatic memberGetColorCountAsync
Gets the actual number of colors of the specified bitmapData asynchronously. Colors are counted even for indexed bitmaps.
See the Remarks section for details.
Public methodStatic memberGetColors
Gets the colors used in the specified bitmapData. A limit can be defined in maxColors.
See the Remarks section for details.
Public methodStatic memberGetColorsAsync
Gets the colors used in the specified bitmapData asynchronously. A limit can be defined in maxColors.
See the Remarks section for details.
Public methodStatic memberInvert
Inverts the colors of the specified bitmapData.
See the Remarks section for details.
Public methodStatic memberInvertAsync
Inverts the colors of the specified bitmapData asynchronously.
See the Remarks section for details.
Public methodStatic memberMakeGrayscale
Makes this bitmapData grayscale.
See the Remarks section for details.
Public methodStatic memberMakeGrayscaleAsync
Makes this bitmapData grayscale asynchronously.
See the Remarks section for details.
Public methodStatic memberMakeOpaque
Makes this bitmapData opaque using the specified backColor.
See the Remarks section for details.
Public methodStatic memberMakeOpaqueAsync
Makes this bitmapData opaque asynchronously using the specified backColor.
See the Remarks section for details.
Public methodStatic memberMakeTransparent(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.
See the Remarks section for details.
Public methodStatic memberMakeTransparent(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.
See the Remarks section for details.
Public methodStatic memberMakeTransparentAsync(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.
See the Remarks section for details.
Public methodStatic memberMakeTransparentAsync(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.
See the Remarks section for details.
Public methodStatic memberQuantize
Quantizes an IReadWriteBitmapData using the specified quantizer (reduces the number of colors).
See the Remarks section for details.
Public methodStatic memberQuantizeAsync
Quantizes an IReadWriteBitmapData asynchronously, using the specified quantizer (reduces the number of colors).
See the Remarks section for details.
Public methodStatic memberReplaceColor
Replaces every oldColor occurrences to newColor in the specified bitmapData.
See the Remarks section for details.
Public methodStatic memberReplaceColorAsync
Replaces every oldColor occurrences to newColor in the specified bitmapData asynchronously.
See the Remarks section for details.
Public methodStatic memberSave
Saves the content of this bitmapData into the specified stream.
See the Remarks section for details.
Public methodStatic memberSaveAsync
Saves the content of this bitmapData into the specified stream asynchronously.
See the Remarks section for details.
Public methodStatic memberToBitmap
Converts the specified source to a Bitmap.
See the Remarks section for details.
Public methodStatic memberToBitmapAsync
Converts the specified source to a Bitmap asynchronously.
See the Remarks section for details.
Public methodStatic memberToGrayscale
Returns a new IReadWriteBitmapData, which is the grayscale version of the specified bitmapData.
See the Remarks section for details.
Public methodStatic memberToGrayscaleAsync
Returns a new IReadWriteBitmapData asynchronously, which is the grayscale version of the specified bitmapData.
See the Remarks section for details.
Public methodStatic memberToTransparent(IReadableBitmapData)
Returns a new IReadWriteBitmapData, which is the clone of the specified bitmapData with transparent background.
See the Remarks section for details.
Public methodStatic memberToTransparent(IReadableBitmapData, Color32)
Returns a new IReadWriteBitmapData, which is the clone of the specified bitmapData with transparent background.
See the Remarks section for details.
Public methodStatic memberToTransparentAsync(IReadableBitmapData, TaskConfig)
Returns a new IReadWriteBitmapData asynchronously, which is the clone of the specified bitmapData with transparent background.
See the Remarks section for details.
Public methodStatic memberToTransparentAsync(IReadableBitmapData, Color32, TaskConfig)
Returns a new IReadWriteBitmapData asynchronously, which is the clone of the specified bitmapData with transparent background.
See the Remarks section for details.
Public methodStatic memberTransformColors(IReadWriteBitmapData, FuncColor32, Color32)
Transforms the colors of this bitmapData using the specified transformFunction delegate.
See the Remarks section for details.
Public methodStatic memberTransformColors(IReadWriteBitmapData, FuncColor32, Color32, IDitherer)
Transforms the colors of this bitmapData using the specified transformFunction delegate.
See the Remarks section for details.
Public methodStatic memberTransformColorsAsync
Transforms the colors of this bitmapData asynchronously, using the specified transformFunction delegate.
See the Remarks section for details.
Public methodStatic memberTrySetPalette
Tries to the set the specified palette for this IWritableBitmapData.
See the Remarks section for details.
Top
See Also

Reference