#include "BITIFF.H"
BOOL CALLBACK DropTiffImage(TIFFFILE hChain, int nImage)
Description
Unregisters an image from the image chain and frees all associated buffers. It is not obligatory to call this function, because CloseTiffFile() frees all image's buffers in the chain. It is useful if there are several images in a TIFF file and you want to process them one by one. In this case it's wise to unregister images already processed to save memory.
Parameters
|
TIFFFILE |
hChain |
Image chain handle. |
|
int |
nImage |
Index of a registered TIFF image to drop. |
Return values
TRUE on success, FALSE if nImage is not the index of a REGISTERED image.
Requirements
Header : Declared in BiTiff.h; include BiTiff.h.
Library : Use BiTIFF.lib.
DLLs : BiTiff.dll.
References to related functions
See GetTiffImage() and DefineTiffImage().
Code example
See OpenTiffFile().