ImageGear for C and C++ on Windows v19.10 - Updated
IG_IC_clean_borders
API Reference Guide > ImageClean Component API Reference > ImageClean Component Functions Reference > IG_IC_clean_borders

This function automatically detects and removes large black regions near the borders of a 1-bit image.

Declaration:

 
Copy Code
AT_ERRCOUNT IG_IC_clean_borders ( HIGEAR hIGear);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle of image.

Return Value:

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

Supported Raster Image Formats:

Indexed RGB – 1 bpp.

Sample:

ImageClean

Remarks:

Black borders can result from scanning an image that was reproduced with a copier onto paper that was larger than the image itself.

Refer to the Component Manager API section.