PixelDataFormatGetRgba Method (Int32, Int32, Int32, Int32)
Gets RGBA color with a specified number of bits per sample.

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public static PixelDataFormat GetRgba(
	int bitsPerRedChannel,
	int bitsPerGreenChannel,
	int bitsPerBlueChannel,
	int bitsPerAlphaChannel
)

Parameters

bitsPerRedChannel
Type: SystemInt32
The number of bits per Red channel.
bitsPerGreenChannel
Type: SystemInt32
The number of bits per Green channel.
bitsPerBlueChannel
Type: SystemInt32
The number of bits per Blue channel.
bitsPerAlphaChannel
Type: SystemInt32
The number of bits per Alpha channel.

Return Value

Type: PixelDataFormat
The RGBA color.
See Also