Gets an array of integer values that represent RGB color masks.
public [Leadtools.RasterColor[]](../l/rastercolor.html) GetColorMask()
Public Function GetColorMask() As Leadtools.RasterColor()
public [Leadtools.RasterColor[]](../l/rastercolor.html) GetColorMask()
@property (nonatomic, strong, readonly, nullable) NSArray<LTRasterColor *> *colorMask
public int[] getColorMask()
function Leadtools.Codecs.CodecsLoadInformationEventArgs.GetColorMask()
public:
Leadtools.array<RasterColor>^ GetColorMask();
An array of 3 integers as follows: ColorMask[0] is the red mask; ColorMask[1] is the green mask; ColorMask[2] is the blue mask.
The color mask is valid only if Format is set to RasterImageFormat.RawBitfields.
As an example, with 16-bit data arranged as RRR RRGG GGGB BBBB, the masks would be:
ColorMask[0] = 0x7C00
ColorMask[1] = 0x0E30
ColorMask[2] = 0x001F
For 32-bit data, the only valid data is RRRR RRRR GGGG GGGG BBBB BBBB. The masks would be:
ColorMask[0] = 0xFF0000
ColorMask[1] = 0x00FF00
ColorMask[2] = 0x0000FF
Products |
Support |
Feedback: GetColorMask Method (CodecsLoadInformationEventArgs) - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.