ImageGear for C and C++ on Linux v18.8 - Updated
IG_LUT_update_from_word_array
API Reference Guide > Core Component API Reference > Core Component Functions Reference > LUT Functions > IG_LUT_update_from_word_array

This function updates LUT from a word array.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_LUT_update_from_word_array(
        HIGLUT lut,
        AT_INT ArrayLength 
        const AT_WORD* lpArray
);

Arguments:

Name Type Description
lut HIGLUT LUT handle.
ArrayLength AT_INT Number of WORDs in the array.
lpArray const 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.

Remarks:

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