Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

GMImage.GetXMP

Query XMP data.

Component Version macOS Windows Linux Server iOS SDK
GraphicsMagick 6.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "GMImage.GetXMP"; ImageRef )   More

Parameters

Parameter Description Example
ImageRef The image reference number. 1

Result

Returns XML text or error.

Description

Query XMP data.
XMP data is a XML file with a given structure.
You can easily use the XML.Query function to get values.

Examples

Query XMP data from image:

Set Variable [$img; Value: MBS( "GMImage.NewImagesFromFile"; "/Users/cs/Desktop/test.tif" )]
Set Variable [$xmp; Value: MBS( "GMImage.GetXMP"; $img )]
Set Variable [$r; Value: MBS( "GMImage.Release"; $img)]

See also

Blog Entries

This function checks for a license.

Created 8th June 2016, last changed 16th December 2020


GMImage.GetWidth - GMImage.GetZPL