L_ExtractXMPMetadata

Summary

Extracts all XMP metadata from the source file and saves it to the destination XML file.

Syntax

#include "l_bitmap.h"

L_LTFIL_API L_INT L_ExtractXMPMetadata(pszSrc, pszDst)

Parameters

L_TCHAR* pszSrc

Character string containing the name of the image file from which the metadata should be read.

L_TCHAR* pszDst

Character string containing the name of the XML file to which the metadata should be written.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

The file referenced by pszDst must be a file format that supports XMP. For example JPEG, TIFF and WebP.

To determine if a file format supports XMP, use L_FileMetaDataItemsSupported.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_SaveXMPMetadata.

Help Version 22.0.2023.7.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.