COLORREPLACE

typedef struct _COLORREPLACE 
{ 
   L_UINT uStructSize; 
   COLORREF crColor; 
   L_UINT uFuzziness; 
} COLORREPLACE, *pCOLORREPLACE; 

The COLORREPLACE structure provides information about the replacement color for the L_ColorReplaceBitmap function.

Member

Description

uStructSize

Must contain the size of COLORREPLACE structure. Should be set to sizeof(COLORREPLACE).

crColor

The COLORREF value that specifies replaced colored value.

 

You can specify a COLORREF value, such as the return value of the Windows RGB macro, or you can use the PALETTEINDEX macro to specify a palette color.

uFuzziness

Value to be used in designating the + or - range of the color being replaced. This must be a nonzero value.

Help Version 20.0.2018.2.25
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help