#include "BIDocImg.H"
HANDLE CALLBACK AutoPunchHoleRemover( HANDLE HDIB,
BOOL bShowProgress,
HWND hParent)
Description
This function will detect the punch holes of a scanned image automaticly and fill the holes with white color. The function works for only monochrome, 8 and 24 bit per pixel images.
Parameters
|
HANDLE |
hDIB |
Handle of the image to remove punch holes. |
|
BOOL |
bShowProgress |
if TRUE, a progress dialog will appear during removing punch holes. |
|
HWND |
hParent |
Handler of the parent window. |
Return values
The handle of the new, DIB or NULL if an error occurred.
Programming notes
The function will not free the input DIB.
Requirements
Header : Declared in BIDocImg.h; include BIDocImg.h.
Library : Use BIDocImg.lib.
DLLs : BIDocImg.dll.