CMYK_PARAMS

Summary

The CMYK_PARAMS structure provides information about CMYK conversion properties.

Syntax

typedef struct _CMYK_PARAMS 
{ 
   L_UINT uStructSize; 
   L_INT nGcr_level; /* value between 0.0 and 1.0 */ 
   L_INT nMask; 
} CMYK_PARAMS, *LPCMYK_PARAMS; 

Members

uStructSize

Size of this structure.

nGcr_level

GCR (Gray Component Replacement) value. Possible values are between 0 and 1000.

nMask

Masking value, currently there is only one used value:

Value Meaning
CMYK_GCR Change the nGcr_level.

Comments

LPCMYK_PARAMS is a pointer to a CMYK_PARAMS structure. Where the function parameter type is LPCMYK_PARAMS, you can declare a CMYK_PARAMS variable, update the structure's fields, and pass the variable's address. Declaring a LPCMYK_PARAMS variable is necessary only if your program requires a pointer.

The mask value will be used only when updating the CMYK conversion using LColor::SetConversionParams function.

The higher the GCR, the more the gray components are replaced with blackness.

Usage

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

LEADTOOLS Color Conversion C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.