←Select platform

ExtractXMPMetadata(Stream,Stream) Method

Summary
Extracts all XMP metadata from the source file and saves it to the destination XML file.
Syntax
C#
VB
C++
Java
public void ExtractXMPMetadata( 
   Stream sourceStream, 
   Stream destStream 
) 
Public Overloads Sub ExtractXMPMetadata( _ 
   ByVal sourceStream As Stream, _ 
   ByVal destStream As Stream _ 
)  
public void extractXMPMetadata(ILeadStream sourceStream, ILeadStream destStream) 
public: 
void ExtractXMPMetadata(  
   Stream^ sourceStream, 
   Stream^ destStream 
)  

Parameters

sourceStream
A Stream containing the source image file from which the metadata should be read.

destStream
A destination Stream to which the metadata should be written in XML format.

Remarks

The Stream referenced by sourceStream must be a file format that supports XMP. For example PNG, PDF, JPEG, TIFF and SVG.

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

Example

For an example, refer to ExtractXMPMetadata.

Requirements

Target Platforms

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

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.