ImageGear for C and C++ on Windows v19.6 - Updated
IG_fltr_raster_plane_callback_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Filter Functions > IG_fltr_raster_plane_callback_get

This function allows you to retrieve the settings of raster plane callback LPFNIG_RASTER_PLANE_SET function.

Declaration:

 
Copy Code
AT_ERRCOUNT LACCUAPI IG_fltr_raster_plane_callback_get(
   LPFNIG_RASTER_PLANE_SET* lplpfnRasterPlaneSetCB,
   AT_VOID** lpReserved
);

Arguments:

Name Type Description
lplpfnRasterPlaneSetCB LPFNIG_RASTER_PLANE_SET* SET callback function.
lpReserved AT_VOID** Reserved for Get function.

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:

None

Example:

 
Copy Code
AT_ERRCOUNT nErrcount;                        // Count of returned errors on stack
LPFNIG_RASTER_PLANE_SET lpfnRasterPlaneCB;    // Raster Plane callback function

// Get ICC callback functions
nErrcount = IG_fltr_raster_plane_callback_get(&lpfnRasterPlaneCB, NULL);

Remarks:

ImageGear calls lpfnRasterPlaneSetCB callback function to pass raster plane data that has been read from a file to the application. The callback is invoked when reading images where pixel data is stored in planar format. As of this writing, only TIF and DICOM format filters support this callback.