This function automatically detects and removes the punch holes on the 1-bit scanned image.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_IC_remove_punch_holes( HIGEAR hIGear, LPAT_IC_PUNCH_HOLE_PARAMS lpParameters ); |
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. |
Returns the number of ImageGear errors that occurred during this function call.
Indexed RGB – 1 bpp.
ImageClean
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.