ImageGear Professional for Windows ActiveX
Working with XMP Metadata

Extensible Metadata Platform (XMP) is an XML-based standard for storage and interchange of metadata, developed by Adobe Systems Inc. The standard defines the rules for storage and processing of the metadata, and provides a number of schemas for storage of information that is typically associated with images and documents, such as Title, Author, Creation date/time, Rating, etc. Applications can add their own schemas to store arbitrary information.

XMP metadata can be attached to files of various formats, such as TIFF, JPEG, PSD, and PDF, or stored as a standalone file.

ImageGear provides the following ways for working with XMP metadata.

By default, ImageGear parses XMP stream into its metadata structure, and does not provide the Raw XMP stream. If you don't want ImageGear to parse the XMP stream, and prefer to instead access the unprocessed XMP stream, set global control parameter XMP.Parse to False.

During saving, if XMP.Parse is True, ImageGear expects a tree under the XMP tag, and serializes this tree into the output file. If XMP.Parse is False, ImageGear expects a byte array in the XMP tag, and saves it verbatim to the file.

Since the XMP standard identifies schema properties using string names, rather than numbers, ImageGear also uses names to identify XMP properties. However, it uses numeric identifiers to differentiate between the kinds of entities, such as Description (schema), Array, Property, Qualifier, etc. All properties have ID = ImGearXMPTagIDs.Property, but differ by their names.

See XMP Non-Image Data Structure section for description of XMP metadata structure in ImageGear.

Example:

Representation of XMP metadata tree.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback