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


Query XMP data.

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


Parameter Description Example
ImageRef The image reference number. 1


Returns XML text or error.


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


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

💬 Ask a question or report a problem