ImageGear for C and C++ on Windows v20.0 - Updated
IG_cpm_image_embedded_profile_check
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Color Profile Management Functions > 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))
{
......
}
Is this page helpful?
Yes No
Thanks for your feedback.