ImageGear for C and C++ on Windows v19.0
IG_fltr_ICC_callback_get

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

Declaration:

 
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
);

Arguments:

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.

Sample:

Load Callback

Example:

 
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);

Remarks:

See IG_fltr_ICC_callback_set for reading and writing ICC profiles.

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback