ImageGear for C and C++ on Windows v20.0 - Updated
IG_LUT_update_from_byte_array
API Reference Guide > Core Component API Reference > Core Component Functions Reference > LUT Functions > IG_LUT_update_from_byte_array

This function updates LUT from a byte array.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_LUT_update_from_byte_array(
        HIGLUT lut,
        AT_INT ArrayLength, 
        const AT_BYTE* lpArray 
);

Arguments:

Name Type Description
lut HIGLUT LUT handle.
ArrayLength AT_INT Array length.
lpArray const AT_BYTE* Byte 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.

Is this page helpful?
Yes No
Thanks for your feedback.