Find Blank Page After Scanning

Q:  How can I separate a multipage TIFF file after batch scanning.

A:  If you scan many documents into a multipage TIFF file, you can separate scanned documents after scanning. If you put blank pages between document before scanning, you can detect these pages with FindBlankPage method. See the description of the method. This method is in the BITIFF.OCX. After detect, you can split the TIFF file into two pieces. See the Split a Multipage TIFF File section.

 

Code example:

       Dim BITiffobj As Object

       Dim fileName As String

       Dim bSuccess As Boolean

       fileName = “c:\test.tif”

       Set BITiffobj = CreateObject("BITIFF.BITiffCtrl.1")

       bSuccess = BITiffobj.FindBlankPage(fileName, 10, 240, 240, 240)

       Set BITiffobj = Nothing