|  |  |  |  | 
Functions related to XMP metadata — Functionality specific to the XMP familiy of metadata information
While being part of GExiv2Metadata, these functions are dealing with specific aspects of XMP
gboolean
gexiv2_metadata_is_xmp_tag (const gchar *tag);
The Exiv2 Tag Reference can be found at http://exiv2.org/metadata.html
gboolean
gexiv2_metadata_get_supports_xmp (GExiv2Metadata *self);
Query self
 whether it supports writing XMP metadata.
gboolean gexiv2_metadata_try_set_xmp_tag_struct (GExiv2Metadata *self,const gchar *tag,GExiv2StructureType type,GError **error);
The Exiv2 Tag Reference can be found at http://exiv2.org/metadata.html
| self | An instance of GExiv2Metadata | |
| tag | Exiv2 tag name | |
| type | The GExiv2StructureType specifying the type of structure | |
| error | [allow-none] | 
Since: 0.12.2
void
gexiv2_metadata_clear_xmp (GExiv2Metadata *self);
Clears all XMP metadata from the loaded image.
gchar * gexiv2_metadata_try_generate_xmp_packet (GExiv2Metadata *self,GExiv2XmpFormatFlags xmp_format_flags,guint32 padding,GError **error);
Encode the XMP packet as a NULL-terminated string.
| self | An instance of GExiv2Metadata | |
| xmp_format_flags | One of GExiv2XmpFormatFlags | |
| padding | The padding (FIXME: Add documentation) | |
| error | [allow-none] | 
Since: 0.12.2
gchar * gexiv2_metadata_try_get_xmp_packet (GExiv2Metadata *self,GError **error);
The currently-encoded XMP packet (see gexiv2_metadata_generate_xmp_packet).
[transfer full][allow-none]
Since: 0.12.2
gboolean gexiv2_metadata_try_register_xmp_namespace (const gchar *name,const gchar *prefix,GError **error);
Since: 0.14.0
gboolean gexiv2_metadata_try_unregister_xmp_namespace (const gchar *name,GError **error);
Since: 0.14.0
void
gexiv2_metadata_try_unregister_all_xmp_namespaces
                               (GError **error);
Since: 0.14.0
char * gexiv2_metadata_try_get_xmp_namespace_for_tag (const char *tag,GError **error);
NULL if there was no namespace registered for the tag, the URI of the namespace otherwise. 
[transfer full]
Since: 0.14.0
gchar *
gexiv2_metadata_get_xmp_packet (GExiv2Metadata *self);
gexiv2_metadata_get_xmp_packet has been deprecated since version 0.12.2 and should not be used in newly-written code.
Use gexiv2_metadata_try_get_xmp_packet() instead.
gboolean gexiv2_metadata_register_xmp_namespace (const gchar *name,const gchar *prefix);
gexiv2_metadata_register_xmp_namespace has been deprecated since version 0.14.0 and should not be used in newly-written code.
Use gexiv2_metadata_try_register_xmp_namespace() instead.
gboolean
gexiv2_metadata_unregister_xmp_namespace
                               (const gchar *name);
gexiv2_metadata_unregister_xmp_namespace has been deprecated since version 0.14.0 and should not be used in newly-written code.
Use gexiv2_metadata_try_unregister_xmp_namespace() instead.
void
gexiv2_metadata_unregister_all_xmp_namespaces
                               (void);
gexiv2_metadata_unregister_all_xmp_namespaces has been deprecated since version 0.14.0 and should not be used in newly-written code.
Use gexiv2_metadata_try_unregister_all_xmp_namespaces() instead.
char *
gexiv2_metadata_get_xmp_namespace_for_tag
                               (const char *tag);
gexiv2_metadata_get_xmp_namespace_for_tag has been deprecated since version 0.14.0 and should not be used in newly-written code.
Use gexiv2_metadata_try_get_xmp_namespace_for_tag() instead.
NULL if there was no namespace registered for the tag, the URI of the namespace otherwise. 
[transfer full]
Since: 0.12.2
gchar * gexiv2_metadata_generate_xmp_packet (GExiv2Metadata *self,GExiv2XmpFormatFlags xmp_format_flags,guint32 padding);
gexiv2_metadata_generate_xmp_packet has been deprecated since version 0.12.2 and should not be used in newly-written code.
Use gexiv2_metadata_try_generate_xmp_packet() instead.
Encode the XMP packet as a NULL-terminated string.
| self | An instance of GExiv2Metadata | |
| xmp_format_flags | One of GExiv2XmpFormatFlags | |
| padding | The padding (FIXME: Add documentation) | 
gboolean gexiv2_metadata_set_xmp_tag_struct (GExiv2Metadata *self,const gchar *tag,GExiv2StructureType type);
gexiv2_metadata_set_xmp_tag_struct has been deprecated since version 0.12.2 and should not be used in newly-written code.
Use gexiv2_metadata_try_set_xmp_tag_struct() instead.
The Exiv2 Tag Reference can be found at http://exiv2.org/metadata.html
| self | An instance of GExiv2Metadata | |
| tag | Exiv2 tag name | |
| type | The GExiv2StructureType specifying the type of structure | 
Options to control the format of the serialized XMP packet Taken from: exiv2/src/xmp.hpp