ICCTAG_LUT_A_TO_B_TYPE, ICCTAG_LUT_B_TO_A_TYPE

typedef struct _ICCTAG_LUT_A2B_B2A_TYPE 
{ 
   ICCTAG_BASE tagBase; 
   L_IccUInt8Number uInputChannels; 
   L_IccUInt8Number uOutputChannels; 
   L_IccUInt8Number uPad[2]; 
   L_IccUInt32Number uOffsetToCurveB; 
   L_IccUInt32Number uOffsetToMatrix; 
   L_IccUInt32Number uOffsetToCurveM; 
   L_IccUInt32Number uOffsetToCLUT; 
   L_IccUInt32Number uOffsetToCurveA; 
   L_IccUInt8Number  * pData; 
   L_UCHAR * pCurveB; 
   L_UCHAR * pCurveM; 
   L_UCHAR * pCurveA; 
   L_UCHAR * pCLUT; 
   ICC_MATRIX Matrix; 
} ICCTAG_LUT_A_TO_B_TYPE,  * pICCTAG_LUT_A_TO_B_TYPE, 
ICCTAG_LUT_B_TO_A_TYPE,  * pICCTAG_LUT_B_TO_A_TYPE; 

The ICCTAG_LUT_A_TO_B_TYPE and ICCTAG_LUT_B_TO_A_TYPE structures are used to save LutAToBType and LutBToAType tags.

Members

tagBase

Pointer to an ICCTAG_BASE structure that specifies the ICC signature.

uInputChannels

Number of input channels.

uOutputChannels

Number of output channels.

uPad

Reserved bytes for padding. Must be set to 0.

uOffsetToCurveB

Offset to first "B" curve.

uOffsetToMatrix

Offset to matrix.

uOffsetToCurveM

Offset to first "M" curve.

uOffsetToCLUT

Offset to CLUT.

uOffsetToCurveA

Offset to first "A".

pData

Pointer to a buffer that contains tag's data.

pCurveB

Pointer to a buffer that contains the B curves data.

pCurveM

Pointer to a buffer that contains the M curves data.

pCurveA

Pointer to a buffer that contains the A curves data.

pCLUT

Pointer to a buffer that contains the CLUT data.

Matrix

Pointer to an ICC_MATRIX structure that contains the Matrix data.

Comments

The signatures for these tag types are LutAtoBTypeSig (0x6D414220) and LutBtoATypeSig (0x6D424120).

Note that when creating one of these tag types using the LICCProfile::CreateTagData function, there is no need to supply the following fields: uOffsetToCurveB, uOffsetToMatrix, uOffsetToCurveM, uOffsetToCLUT, uOffsetToCurveA. Their values will be calculated automatically by the LICCProfile::CreateTagData function.

Help Version 22.0.2021.8.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Color Conversion C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.