ImageGear Professional > API Reference Guide > Core Component API Reference > Core Component Functions Reference > General Image Functions > IG_image_grayscale_LUT_update_from |
This function updates (creates if not present) a grayscale LUT for the image.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_image_grayscale_LUT_update_from( HIGEAR hIGear, HIGLUT lut ); |
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle. |
lut | HIGLUT | LUT handle. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
All pixel formats supported by ImageGear Professional.
Currently, grayscale LUT is only taken into account for 2…16 bpp Grayscale images. |