ImageGear for C and C++ on Windows v20.5 - Updated
IG_gui_colormismatch_warning
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > ICC Functions > IG_gui_colormismatch_warning

This function performs several checks to determine whether to show a color mismatch warning dialog.

Declaration:

 
Copy Code
VOID ACCUAPI IG_gui_colormismatch_warning(
        HWND hWnd, 
        HIGEAR hIGear
);

Arguments:

Name Type Description
hWnd HWND (in) A handle to the parent window.
hIGear HIGEAR (in) A handle to the image to check whether it has embedded color profile, or has non-RGB color format.

Return Value:

None

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Sample:

Image Processing

Example:

 
Copy Code
HWND hWnd;               /* Handle to the parent window */
HIGEAR hIGear;          /* Handle of the image to check*/
/* Warn to enable ICC support if there is color mismatch */
IG_gui_colormismatch_warning(hWnd, hIGear);
...

Remarks:

The warning dialog will be shown if all of the following are true:

Is this page helpful?
Yes No
Thanks for your feedback.