Gets all metadata stored in the image for a specific model.
Syntax
rv = Send_Message(Ctrl, "OLE.GetMetaData", Model)
Parameters
Parameter | Description |
---|---|
Model | The 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:
Pos | Name | Type | Description |
---|---|---|---|
<1, 1> | Key | Text | The tag's key ID |
<1, 2> | Value | Text | The tag's value |
<1, 3> | Description | Text | The 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")