RGBtoCMYK2PAR

#include "BIImage.H"

 

S_CMYK CALLBACK RGBtoCMYK2PAR(const LPS_RGB sRGB,  const double sK, const double k0, const double kMAX)

Description

Returns a S_CMYK structure that is equivalent to the color represented by the RGB values. The sK, k0 and kMAX parameters modify the color space conversion.

Parameters

LPS_RGB

double

double

double

sRGB

sK

k0

kMAX

Pointer to a RGB structure to convert.

Coefficient for under-color removal

Threshold parameter for black component

Max. value of black component

Return values

The function will return a S_CMYK structure.

Programming notes

See the Color Conversions Structures section for the description of the structures.

The range for all fields in the structure is between 0..255.

Requirements

Header :     Declared in BIImage.h; include BIImage.h.

Library :    Use BIImage.lib.

DLLs :       BIimage.dll.