ImageGear for C and C++ on Windows v19.6 - Updated
IG_LUT_copy_to_word_array
API Reference Guide > Core Component API Reference > Core Component Functions Reference > LUT Functions > IG_LUT_copy_to_word_array

This function copies LUT a to word array.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_LUT_copy_to_word_array(
        HIGLUT SrcLUT, 
        AT_INT ArrayLength, 
        AT_WORD* lpArray
);

Arguments:

Name Type Description
SrcLUT HIGLUT LUT to be copied.
ArrayLength AT_INT Array length.
lpArray AT_WORD* Word array.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Remarks:

Array length must be equal to 2^InputDepth, where InputDepth is the input depth of the LUT.