#include "BIImage.H"
D_LAB CALLBACK dXYZtoLAB(const LPD_XYZ dXYZ)
Description
Returns a D_LAB structure that is equivalent to the color represented by the D_XYZ values.
Parameters
|
LPD_XYZ |
dXYZ |
Pointer to a D_XYZ structure to convert. |
Return values
The function will return a D_LAB structure.
Programming notes
See the Color Conversions Structures section for the description of the structures.
The range for each field in the input structure is between 0.0 and 1.0.The range for each field in the input structure is between 0.0 and 1.0.
X: 0.0 … 0.9807 Y: 0.0 … 1.0 Z: 0.0 … 1.18232
The range for each field in the output structure is between 0.0 and 1.0.
L: 0.0 … 1.0 A: 0.0 … 1.0 B: 0.0 … 1.389
Requirements
Header : Declared in BIImage.h; include BIImage.h.
Library : Use BIImage.lib.
DLLs : BIimage.dll.