Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


GMImage.GetWidth - GMImage.GetZPL

Feedback: Report problem or ask question.