GetRgba

PixelDataFormat.GetRgba method (1 of 2)

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

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

Return Value

The RGBA color.

See Also


PixelDataFormat.GetRgba method (2 of 2)

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

public static PixelDataFormat GetRgba(int bitsPerRedChannel, int bitsPerGreenChannel, 
    int bitsPerBlueChannel, int bitsPerAlphaChannel)
Parameter Type Description
bitsPerRedChannel Int32 The number of bits per Red channel.
bitsPerGreenChannel Int32 The number of bits per Green channel.
bitsPerBlueChannel Int32 The number of bits per Blue channel.
bitsPerAlphaChannel Int32 The number of bits per Alpha channel.

Return Value

The RGBA color.

See Also