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;
The CMYK_PARAMS structure provides information about CMYK conversion properties.
Size of this structure.
GCR (Gray Component Replacement) value. Possible values are between 0 and 1000.
Masking value, currently there is only one used value:
Value | Meaning |
---|---|
CMYK_GCR | Change the nGcr_level. |
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.
CMYK_PARAMS is used with the CONVERSION_PARAMS structure.
The mask value will be used only when updating the CMYK conversion using L_ClrSetConversionParams function.
The higher the GCR, the more the gray components are replaced with blackness.