L_FreeFileTags

#include "l_bitmap.h"

L_LTFIL_API L_INT L_FreeFileTags(uTagCount, pTags, uDataSize, pData)

L_UINT uTagCount;

 number of tags found 

pLEADFILETAG pTags;

tags data

L_SIZE_T uDataSize;

overall size of the tags data

L_UCHAR * pData;

overall tags data

Frees the data allocated by calling the L_ReadFileTags or L_ReadFileGeoKeys functions.

Parameter

Description

uTagCount

The number of tags or geo keys found in the file.

pTags

Pointer to an array of LEADFILETAG structures. Each element of the array contains data for one tag or geo key found in the file. The number of elements in pTags is uTagCount.

uDataSize

The size in bytes of the overall tag or key keys data.

pData

A pointer to the overall tag or geo key data. The size of this pointer in bytes is uDataSize. Each LEADFILETAG item found contains an offset to where the data for this item is stored in pData.

Returns

SUCCESS

The function was successful

< 1

An error occurred. Refer to Return Codes.

Comments

For general information about TIFF tags, refer to Implementing TIFF Comments and Tags.

Required DLLs and Libraries

LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64, Linux.

See Also

Functions:

L_SetTag, L_GetTag, L_ReadFileTags, L_SetGeoKey, L_GetGeoKey, L_ReadFileGeoKeys

Topics:

Implementing TIFF Comments and Tags

Example

For a short example, refer to L_ReadFileTags.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help