IG_cpm_image_embedded_profile_check
This function checks to see whether the image has embedded color profile.
Declaration:
|
Copy Code
|
AT_ERRCODE ACCUAPI IG_cpm_image_embedded_profile_check(
HIGEAR hIGear,
LPAT_BOOL lpbEmbedded
);
|
Arguments:
Name |
Type |
Description |
hIGear |
HIGEAR |
(in) A handle of the image to check. |
lpbEmbedded |
LPAT_BOOL |
(out) Return TRUE if profile embedded, otherwise, FALSE. |
Return Value:
Return value is a code of last error or NULL if success.
Supported Raster Image Formats:
All pixel formats supported by ImageGear for C and C++.
Sample:
GUI Windows
Example:
|
Copy Code
|
HIGEAR hIGear; /* Handle of the image to check*/
AT_BOOL bEmbeddedProfile = FALSE; /* Flag to return whether profile embedded or not */
/* Load an image into hIGear */
......
/* Check whether the image has embedded profile. */
if (IGE_SUCCESS == IG_cpm_image_embedded_profile_check(hIGear, &bEmbeddedProfile))
{
......
}
|