GetGrayscaleAlpha

PixelDataFormat.GetGrayscaleAlpha method (1 of 2)

Gets GrayscaleAlpha color with a specified number of bits per sample.

public static PixelDataFormat GetGrayscaleAlpha(int bitsPerSample)
Parameter Type Description
bitsPerSample Int32 The number of bits per sample.

Return Value

The GrayscaleAlpha color.

See Also


PixelDataFormat.GetGrayscaleAlpha method (2 of 2)

Gets GrayscaleAlpha color with a specified number of bits per sample.

public static PixelDataFormat GetGrayscaleAlpha(int bitsPerSample, int alphaChannelBits)
Parameter Type Description
bitsPerSample Int32 The number of bits per sample.
alphaChannelBits Int32 The number of bits per sample in the alpha channel.

Return Value

The GrayscaleAlpha color.

See Also