Method ConvertToGrayscale
ConvertToGrayscale(SKBitmap)
Converts the specified SKBitmap to a grayscale version using a color filter.
public static SKBitmap ConvertToGrayscale(SKBitmap bitmap)
Parameters
Returns
Exceptions
- ArgumentNullException
Thrown if the
bitmapparameter isnull.