ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Load Functions > IG_load_color_reduction_get |
This function retrieves the last setting made by calling function IG_load_color_reduction_set().
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_load_color_reduction_get( LPUINT lpColorReduceMode ); |
Name | Type | Description |
lpColorReduceMode | LPUINT | Pointer to an AT_MODE variable to receive the current IG_LOAD_COLOR setting. |
This function does not process image pixels.
Copy Code
|
|
---|---|
UINT nLoadReduceMode; /* Will receive the IG_LOAD_COLOR_ constant */
AT_ERRCOUNT nErrCount = IG_load_color_reduction_get ( &nLoadReduceMode );
|
If no color reduction is in effect, IG_LOAD_COLOR_DEFAULT is returned.