ImageGear for C and C++ on Windows v19.10 - Updated
LPFNIG_CHECK_PIXEL
API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_CHECK_PIXEL

This callback returns TRUE if the given pixel does not belong to the area (border found), and FALSE otherwise.

Declaration:

 
Copy Code
typedef AT_BOOL (LPACCUAPI LPFNIG_CHECK_PIXEL)(
        AT_INT bitsPerChannel,
        AT_INT channelCount,
        LPAT_VOID checkData,    
        LPAT_PIXEL pixel        
);

Arguments:

Name Type Description
bitsPerChannel AT_INT Number of bits per channel used to store the pixel being checked.
channelCount AT_INT Number of channels in the pixel being checked.
checkData LPAT_VOID User-defined data passed to calling function (for example, detectStruct parameter of IG_IP_detect_area).
pixel LPAT_PIXEL Pointer to the pixel to be checked.

Return Value:

A Boolean value that returns TRUE if the given pixel does not belong to the area (border found), and FALSE otherwise.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.