PixelDataFormat.GetRgba
Contents
[
Hide
]GetRgba(int)
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
- class PixelDataFormat
- namespace Aspose.Imaging
- assembly Aspose.Imaging
GetRgba(int, int, int, int)
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
- class PixelDataFormat
- namespace Aspose.Imaging
- assembly Aspose.Imaging