ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Filter Functions > IG_fltr_ICC_callback_get

This function returns the current settings for callbacks that are used for reading and writing ICC profiles.


Copy Code
AT_ERRCODE ACCUAPI IG_fltr_ICC_callback_get(
   LPVOID* lplpPrivate,
   LPAFT_IG_ICC_GET_CB* lplpfnGetCB,
   LPAFT_IG_ICC_SET_CB* lplpfnSetCB,
   LPAFT_ANY* lplpfnReserved


Name Type Description
lplpPrivate LPVOID* Private callback data.
lplpfnGetCB LPAFT_IG_ICC_GET_CB* GET callback function.
lplpfnSetCB LPAFT_IG_ICC_SET_CB* SET callback function.
lplpfnReserved LPAFT_ANY* Reserved.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.


Copy Code
AT_ERRCOUNT nErrcount;            // Count of returned errors on stack
LPVOID lpPrivate;                // Private callback data
LPAFT_IG_ICC_GET_CB lpfnGetCB;    // GET callback function
LPAFT_IG_ICC_SET_CB lpfnSetCB;    // SET callback function

// Get ICC callback functions
nErrcount = IG_fltr_ICC_callback_get(&lpPrivate, &lpfnGetCB, &lpfnSetCB, NULL);


See IG_fltr_ICC_callback_set for reading and writing ICC profiles.

Is this page helpful?
Yes No
Thanks for your feedback.