The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



CMYtoCMYK


Unit:SDL_sdlcolors
Class:none
Declaration:procedure CMYtoCMYK (var Cyan, Magenta, Yellow, Black: double);

The procedure CMYtoCMYK transforms a color defined in the CMY color space by the parameters Cyan, Magenta, and Yellow (valid ranges: 0 .. 1.0) into the CMYK color space defined by the parameters Cyan, Magenta, Yellow and Black (valid ranges: 0 .. 1.0).

Hint: The CMYK color system describes a color based on the amounts of the base colors cyan, magenta, yellow, and black. The CMYK system is based on the CMY system, except that equal amounts of C, M, and Y are replaced by the single color K (black). Thus, a particular color has four coordinates [C,M,Y,K], with the coordinates lying between 0.0 and 1.0. Please note that the CMYK model is a subtractive model, thus black is [0,0,0,1] and white is [1,1,1,0].



Last Update: 2014-Aug-13