In This Topic ▼

BALANCEDATA

typedef struct tagBALANCEDATA 
{ 
   L_UINT uStructSize; 
   L_INT nRed; 
   L_INT nGreen; 
   L_INT nBlue; 
} 
BALANCEDATA, * pBALANCEDATA; 

The BALANCEDATA structure provides the balance tone information used in LBitmap::ColorIntensityBalance function.

Members

uStructSize

The size of the structure. Should be set to sizeof(BALANCEDATA).

nRed

Value to be used for adjusting or balancing the red channel. Valid values range from 100 to 100. Values > 0 increase the red component. Values < 0 decrease the red component. Using 0 leaves the red component unchanged.

nGreen

Value to be used for adjusting or balancing the Green channel. Valid values range from 100 to 100. Values > 0 increase the green component value. Values < 0 decrease the green component value. Using 0 leaves the green component unchanged.

nBlue

Value to be used for adjusting or balancing the blue channel. Valid values range from 100 to 100. Values > 0 increase the blue component value. Values < 0 decrease the blue component value. Using 0 leaves the blue component unchanged.

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
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.