ImageGear for C and C++ on Windows v20.5 - Updated
IG_IP_process_area
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Processing Functions > IG_IP_process_area

Processes all pixels in the ROI area using a specified pixel processor.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_IP_process_area(
        HIGEAR hIGear, 
        LPAT_VOID processStruct, 
        LPFNIG_PROCESS_PIXEL processFun,
        LPAT_RECT lpRect
); 

Arguments:

Name Type Description
hIGear HIGEAR Image to be processed.
processStruct LPAT_VOID A pointer to a user-defined structure that will be passed to the callback function.
processFun LPFNIG_PROCESS_PIXEL User-defined callback function that processes pixels.
lpRect LPAT_RECT Rectangular area to apply the effect to, or NULL for whole image.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

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

Actual set of pixel formats supported by this function can be narrower, depending on the implementation of the user-defined callback function.

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