GetRgb
Contents
[
Hide
]PixelDataFormat.GetRgb method (1 of 2)
Gets RGB color with a specified number of bits per sample.
public static PixelDataFormat GetRgb(int bitsPerSample)
Parameter | Type | Description |
---|---|---|
bitsPerSample | Int32 | The number of bits per sample. |
Return Value
The RGB color.
See Also
- class PixelDataFormat
- namespace Aspose.Imaging
- assembly Aspose.Imaging
PixelDataFormat.GetRgb method (2 of 2)
Gets RGB color with a specified number of bits per sample.
public static PixelDataFormat GetRgb(int bitsPerRedChannel, int bitsPerGreenChannel,
int bitsPerBlueChannel)
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. |
Return Value
The RGB color.
See Also
- class PixelDataFormat
- namespace Aspose.Imaging
- assembly Aspose.Imaging