This function checks to see whether the image has embedded color profile.
Copy Code
|
|
---|---|
AT_ERRCODE ACCUAPI IG_cpm_image_embedded_profile_check( HIGEAR hIGear, LPAT_BOOL lpbEmbedded ); |
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 is a code of last error or NULL if success.
All pixel formats supported by ImageGear for C and C++.
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)) { ...... } |