Create Single Page TIFF Files

Q:  How can I create a single page TIFF file?

A:  You can easily create a single page TIFF file from multipage TIFF files with DeleteTiffImagefunction. You can delete specified page with this function. This function is in the BITIFF.DLL. You can also use the SplitTiffFilefunction. See the Split a Multipage TIFF File section.

 

Code examples:

     #include “BiTiff.h”

     …

     char szTiffFileName[MAX_PATH];

     UINT nImage = 2;

     strcpy(szTiffFileName, “c:\\test.tif”);

     BeginWaitCursor();

     DeleteTiffImage(szTiffFileName, nImage , TRUE);

     EndWaitCursor();