Utility.MakeGrayscale Method

Converts an image to grayscale.
Public Shared Function MakeGrayscale( _ 
ByVal original As Bitmap
) As Bitmap
This language is not supported or no code example is available.
public static Bitmap MakeGrayscale( 
Bitmap original 
)
This language is not supported or no code example is available.

Parameters

original
Bitmap

The original bitmap

Return Value

Bitmap

The grayscale bitmap.

.NET Framework

Supported in: 4.8

In this article

Definition