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:
hIGear | Image to be processed. |
processStruct | A pointer to a user-defined structure that will be passed to the callback function. |
processFun | User-defined callback function that processes pixels. |
lpRect | 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 Professional.
Actual set of pixel formats supported by this function can be narrower, depending on the implementation of the user-defined callback function. |