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:
- The registry entry for "show color mismatch warning" is enabled.
- The ICC support is currently disabled.
- The given image either has embedded color profile, or has non-RGB color format.