freeimage.h
FreeImage_GetICCProfile
DLL_API FIICCPROFILE *DLL_CALLCONV FreeImage_GetICCProfile(FIBITMAP *dib);
Recupera un puntero a los datos FIICCPROFILE del mapa de bits. Esta función también puede ser invocada de forma segura, cuando el formato original no soporte prefiles.
// this code assumes there is a bitmap loaded and // present in a variable called ‘bitmap’ // retrieve a pointer to FIICCPROFILE structure FIICCPROFILE *profile = FreeImage_GetICCProfile(bitmap); If (profile->data) { // profile data present }