ImageGear for C and C++ on Windows v20.5 - Updated
IG_IC_remove_punch_holes
API Reference Guide > ImageClean Component API Reference > ImageClean Component Functions Reference > IG_IC_remove_punch_holes

This function automatically detects and removes the punch holes on the 1-bit scanned image.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_IC_remove_punch_holes(
            HIGEAR hIGear,
            LPAT_IC_PUNCH_HOLE_PARAMS lpParameters
);

Arguments:

Name Type Description
hIGear HIGEAR Image to which to apply punch holes removal.
lpParameters LPAT_IC_PUNCH_HOLE_PARAMS Parameters for punch holes removal method.

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:

This function works for most common hole puncher standards including 2, 3, 4 and 5 hole puncher marks. This function takes a 1-bit image page and the set of advanced parameters specifying the location and diameter of punch holes.

Also refer to AT_IC_PUNCH_HOLE_PARAMS.

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