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).
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_LUT_get(
[IN] HIGEAR hIGear,
[IN] DWORD dwGrpID,
[OUT] LPBYTE lpRLUT,
[OUT] LPBYTE lpGLUT,
[OUT] LPBYTE lpBLUT
);
|
|
| 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. |
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear for C and C++.
None
|
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 ); . . |
|