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....



CMYKtoCMY


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

The procedure CMYKtoCMY transforms a color defined in the CMYK color space by the parameters Cyan, Magenta, Yellow, and Black (valid ranges: 0 .. 1.0) into the CMY color space defined by the parameters Cyan, Magenta and Yellow (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