ReorderTiffFile

#include "BITIFF.H"

 

BOOL CALLBACK ReorderTiffFile(LPTSTR  lpszFileName)

Description

Reorders the TIFF file named lpszFileName. Does all low level calls internally in the DLL. To retrieve the last error, use the TiffErrorString().

Parameters

LPTSTR

lpszFileName

Path to the TIFF file.

Additional Information

This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.

Return values

TRUE on success, otherwise FALSE.

Programming notes

Use this function only if you called the InsertTiffImage() or DeleteTiffImage() functions with the bFast parameter set to TRUE (thus the physical image order does not match the logical one) or if you have an image created by another program and you want the images in the Image File Directory format that Black Ice uses. If you called the above mentioned two functions with the bFast parameter set to FALSE you do not need to call ReorderTiffFile(), because the resulted TIFF file will not be changed, but regenerated (and of course, it takes some time).

This function was designed to be used with high-level application generators like Borland C++, Visual Basic.

Requirements

Header :     Declared in BiTiff.h; include BiTiff.h.

Library :    Use BiTIFF.lib.

DLLs :       BiTiff.dll.

References to related functions

See InsertTiffImage(), DeleteTiffImage().