COLORDATA

Summary

The COLORDATA structure provides color balancing information.

Syntax

typedef struct _COLORDATA 
{ 
   L_UINT uStructSize; 
   L_INT nRedFactor; 
   L_INT nGreenFactor; 
   L_INT nBlueFactor; 
   L_INT nConstant; 
} COLORDATA, * pCOLORDATA; 

Members

uStructSize

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

nRedFactor

Value that represents the percentage of the red color value that should be distributed to the red component. Valid values are 200 to 200.

nGreenFactor

Value that represents the percentage of the green color value that should be distributed to the green component. Valid values are 200 to 200.

nBlueFactor

Value that represents the percentage of the blue color value that should be distributed to the blue component. Valid values are 200 to 200.

nConstant

Value that represents the color value that should be added to the whole image. Valid values are 200 to 200.

Usage

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

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.