Gets an array of integer values that represent RGB color masks.
public int GetColorMask()
Public Function GetColorMask() As Integer()
@property (nonatomic, strong, nullable) NSArray<LTRasterColor *> *colorMask
public int getColorMask()
An array of 3 integers as follows: ColorMask is the red mask; ColorMask is the green mask; ColorMask is the blue mask.
As an example, with 16-bit data arranged as RRR RRGG GGGB BBBB, the masks would be:
ColorMask = 0x7C00
ColorMask = 0x0E30
ColorMask = 0x001F
For 32-bit data, the only valid data is RRRR RRRR GGGG GGGG BBBB BBBB. The masks would be:
ColorMask = 0xFF0000
ColorMask = 0x00FF00
ColorMask = 0x0000FF
For an example, refer to RasterCodecs.StartDecompress.
Medical Web Viewer .NET