ImageGear for C and C++ on Windows v19.1 - Updated
IG_image_grayscale_LUT_copy_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > General Image Functions > IG_image_grayscale_LUT_copy_get

This function returns a copy of image grayscale LUT, if it exists.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_image_grayscale_LUT_copy_get(
        HIGEAR hIGear,
        HIGLUT* lpLUT
);

Arguments:

Name Type Description
hIGear HIGEAR ImageGear handle.
lpLUT HIGLUT* New LUT handle.

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:

All pixel formats supported by ImageGear for C and C++.

Currently, grayscale LUT is only taken into account for 2…16 bpp Grayscale images.

Sample:

None