PixelDataFormat.GetBgra

PixelDataFormat.GetBgra method

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

public static PixelDataFormat GetBgra(int bitsPerSample)
ParameterTypeDescription
bitsPerSampleInt32The number of bits per sample.

Return Value

The BGRA color.

See Also