|
Color data passed to/from the CMM is encoded as floating point numbers ranging from 0.0 to 1.0 Often data is encoded using other ranges. The icFloatColorEncoding enum is used by the ToInternalEncoding() and FromInternalEncoding() functions to convert to/from the internal encoding. The valid encoding transforms for the following color space signatures are given below.
'CMYK', 'RGB ', 'GRAY', 'CMY ', 'Luv ', 'YCbr', 'Yxy ', 'HSV ', 'HLS ', 'gamt' icEncodePercent: 0.0 <= value <= 100.0 icEncodeFloat: 0.0 <= value <= 1.0 icEncode8Bit: 0.0 <= value <= 255 icEncode16Bit: 0.0 <= value <= 65535
'XCLR' icEncodeValue: (if X>=3) 0.0 <= L <= 100.0; -128.0 <= a,b <= 127.0 others 0.0 <= value <= 1.0 icEncodePercent: 0.0 <= value <= 100.0 icEncodeFloat: 0.0 <= value <= 1.0 icEncode8Bit: 0.0 <= value <= 255 icEncode16Bit: 0.0 <= value <= 65535
'Lab ' icEncodeValue: 0.0 <= L <= 100.0; -128.0 <= a,b <= 127.0 icEncodeFloat: 0.0 <= L,a,b <= 1.0 - ICC PCS encoding (See ICC Specification) icEncode8BIt: ICC 8 bit Lab Encoding - See ICC Specification icEncode16Bit: ICC 16 bit Lab Encoding - See ICC Specification
'XYZ ' icEncodeValue: 0.0 <= X,Y,Z < 1.999969482421875 icEncodePercent: 0.0 <= X,Y,Z < 199.9969482421875 icEncodeFloat: 0.0 <= L,a,b <= 1.0 - ICC PCS encoding (See ICC Specification icEncode16Bit: ICC 16 bit XYZ Encoding - (icU1Fixed15) See ICC Specification - Enumeration values:
-
icEncodeValue |
|
icEncodePercent |
|
icEncodeFloat |
|
icEncode8Bit |
|
icEncode16Bit |
|
icEncodeUnknown |
|
|