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

This function copies a LUT to a byte array.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_LUT_copy_to_byte_array(
        HIGLUT SrcLUT, 
        AT_INT ArrayLength, 
        AT_BYTE* lpArray
);

Arguments:

Name Type Description
SrcLUT HIGLUT LUT to be copied.
ArrayLength AT_INT Array length.
lpArray 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.