Click or drag to resize

ChartToolsCreateGrayscaleAlphaMap Method

LightningChart .NET Help
Create a grayscale bitmap of source bitmap's pixels' alpha level. White output pixel means A = 255, Black means A = 0, and grayscales values between them.

Namespace:  Arction.Wpf.ChartingMVVM
Assembly:  Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntax
public static Bitmap CreateGrayscaleAlphaMap(
	Bitmap bitmapIn
)

Parameters

bitmapIn
Type: System.DrawingBitmap
Source bitmap whose alpha level is to be investigated pixel-by-pixel.

Return Value

Type: Bitmap
Bitmap having alpha RGB values as grayscale, and alpha 255 in each output pixel.
See Also