ImageGear for C and C++ on Windows v19.3 - Updated
IG_gui_switch_enableicc
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > ICC Functions > IG_gui_switch_enableicc

This function switches the state of enabling/disabling ICC support, and returns the state after switching.

Declaration:

 
Copy Code
AT_BOOL ACCUAPI IG_gui_switch_enableicc();

Arguments:

None

Return Value:

TRUE/FALSE

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

Image Processing

Example:

 
Copy Code
AT_BOOL bICCEnabled = FALSE;
/* Switch the state and return the result after switching */
bICCEnabled = IG_gui_switch_enableicc();
...