Gets all metadata stored in the image for a specific model.

Syntax

rv = Send_Message(Ctrl, "OLE.GetMetaData", Model)

Parameters

ParameterDescription
ModelThe model/category of metadata to get

Returns

@FM list of all metadata tags

Remarks

The GetMetaData method gets all metadata tags associated with the given model. In most images, metadata is grouped or categorized into models. Within a model is a series of tags. Each tag has a key, a value, and a description. There are currently 11 recognized models:

Name
Comments
ExifMain
ExifAdvanced
ExifGPS
ExifMaker
ExifInterop
IPTC
XMP
GeoTiff
Animation

This method will return an @FM delimited list of tags. Each tag has the following @VM delimited structure:

PosNameTypeDescription
<1, 1>KeyTextThe tag's key ID
<1, 2>ValueTextThe tag's value
<1, 3>DescriptionTextThe tag's description

To get a list of models stored in the image, use the GetMetaDataModels method. To get a single tag, use the GetMetaDataTag method.

Example

// Get the meta data for the first model 
Models = Send_Message(@Window:".OLE_PICTURE", "OLE.GetMetaDataModels") 
Tags = Send_Message(@Window:".OLE_PICTURE", "OLE.GetMetaData", Models<1>) 

// Explicitely get all tags from the Comments model 
Tags = Send_Message(@Window:".OLE_PICTURE", "OLE.GetMetaData", "Comments")

See Also

GetMetaDataModelsGetMetaDataTag

  • No labels