#include "BITIFF.H"
BOOL CALLBACK DeleteTiffTagOfImage( LPTSTR lpsFileName,
int nImage,
UINT wTagID)
Description
Deletes an existing tag and its data from the n'th image in the TIFF file without displaying or decoding any of the images.
Parameters
|
LPTSTR |
lpsFileName |
The TIFF file name. |
|
int |
nImage |
The n'th image in the TIFF file. |
|
UINT |
wTagID |
The tag ID to be deleted. |
Return values
TRUE on success, FALSE if not a valid file name or parameter is used.
Programming notes
The first image in the TIFF file is 0. The DeleteTiffTagOfImage() function will create a temporary file in the process of deleting a tag. It would require disk space of twice the size of the image file. Since this function does not use the image chain, so it must open and close the TIFF file for every deleted tag. This is time sensitive operation, so it is not recommended to use this function to delete a large number of tags at once.
Requirements
Header : Declared in BiTiff.h; include BiTiff.h.
Library : Use BiTIFF.lib.
DLLs : BiTiff.dll.
References to related functions
See AddTiffTagToImage(), IsRequiredTag().