PixelDataFormat.GetRgb
Contents
[
Hide
]GetRgb(int)
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
GetRgb(int, int, int)
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