In This Topic ▼


typedef struct _SELCLR 
   L_UINT uStructSize; 
   SELCLRINF selClrs[9]; 

The SELCLR structure contains the percentages of cyan, magenta, yellow and black that make up each of the "Selected Colors".



Size of this structure, in bytes. Use the sizeof operator to calculate this value.


An array of 9 SELCLRINF structures. Each SELCLRINF structure contains information about a specific color.


The nine elements in the selClrs array refer to the "Selected Colors" of an image. Those selected colors are: the additive colors (Red, Green and Blue), the subtractive colors (Cyan, Magenta and Yellow), the highlights (White), the midtones (Neutral) and the shadows (Black).

Each of those "Selected Colors" has information about the percentages of cyan, magenta, yellow and black that defines that selective color. For more information, refer to SELCLRINF.

The indexes of the array are as follows:

Index Value Selected Color
SELCLR_RED 0x0000 Red
SELCLR_YELLOW 0x0001 Yellow
SELCLR_GREEN 0x0002 Green
SELCLR_CYAN 0x0003 Cyan
SELCLR_BLUE 0x0004 Blue
SELCLR_MAGENTA 0x0005 Magenta
SELCLR_WHITE 0x0006 White
SELCLR_NEUTRAL 0x0007 Neutral
SELCLR_BLACK 0x0008 Black

The structure is used by:

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help