PixelDataFormat.GetGrayscaleAlpha
GetGrayscaleAlpha(int)
Gets GrayscaleAlpha color with a specified number of bits per sample.
public static PixelDataFormat GetGrayscaleAlpha(int bitsPerSample)
Parameter | Type | Description |
---|---|---|
bitsPerSample | Int32 | The number of bits per sample. |
Return Value
The GrayscaleAlpha color.
See Also
- class PixelDataFormat
- namespace Aspose.PSD
- assembly Aspose.PSD
GetGrayscaleAlpha(int, int)
Gets GrayscaleAlpha color with a specified number of bits per sample.
public static PixelDataFormat GetGrayscaleAlpha(int bitsPerSample, int alphaChannelBits)
Parameter | Type | Description |
---|---|---|
bitsPerSample | Int32 | The number of bits per sample. |
alphaChannelBits | Int32 | The number of bits per sample in the alpha channel. |
Return Value
The GrayscaleAlpha color.
See Also
- class PixelDataFormat
- namespace Aspose.PSD
- assembly Aspose.PSD