ImageGear Professional for Linux
IG_dspl_LUT_get

This function returns the current red, green and blue look-up tables lpRLUT, lpGLUT, or lpBLUT (should be either NULL or valid pointers to a 256 byte array).

Declaration:

 
Copy Code
AT_ERRCOUNT   ACCUAPI  IG_dspl_LUT_get(
        [IN] HIGEAR hIGear,
        [IN] DWORD dwGrpID,
        [OUT] LPBYTE lpRLUT,
        [OUT] LPBYTE lpGLUT,
        [OUT] LPBYTE lpBLUT
);

Arguments:

Name Type Description
hIGear HIGEAR ImageGear handle of image.
dwGrpID DWORD Identifier of group from which to get options.
lpRLUT LPBYTE Pointer to where the current red look-up table (RedLut value) is to be copied. If NULL, then this parameter is ignored.
lpGLUT LPBYTE Pointer where the current green look-up table (GreenLut value) is to be copied. If NULL, then this parameter is ignored.
lpBLUT LPBYTE Pointer where the current blue look-up table (BlueLut value) is to be copied. If NULL, then this parameter is ignored.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Example:

 
Copy Code
HIGEAR    hIGear;         /* HIGEAR handle of image  */ 
DWORD    nGrpID;         /* display group identifier  */
BYTE     r_lut[256];       /* red lookup array     */
BYTE     g_lut[256];     /* green lookup array     */
 ...
IG_dspl_LUT_get( hIGear, nGrpID, r_lut, g_lut, NULL );
 . .

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback