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 function. See the description of the function. This function is in the BITIFF.DLL. After detect, you can split the TIFF file into two pieces. See the Split a Multipage TIFF File section.
Code example:
#include “BiTiff.h”
…
char szFile[MAX_PATH];
int ret;
int ratio = 100;
strcpy(szFile, “c:\\scanned.tif”);
ret = FindBlankPage(szFile, 100, limit);
if (ret == -1)
AfxMessageBox(“There are no blank page in the file”);