<?xml version="1.0"?>
<page id="Gimp.Image.set_metadata"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.Image" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_image_set_metadata</api:name>
      <api:arg>
        <api:type>Gimp.Metadata</api:type>
        <api:name>metadata</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Image.prototype.set_metadata</title>
  <synopsis><code mime="text/x-gjs">
function set_metadata(metadata: <link xref="Gimp.Metadata">Gimp.Metadata</link>): Boolean {
    // Gjs wrapper for gimp_image_set_metadata()
}
  </code></synopsis>
  <p>Set the image's metadata.</p>  <p>Sets exif/iptc/xmp metadata on the image, or deletes it if
<code>metadata</code> is <code>null</code>.</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>metadata</code></title>
  <p>The exif/ptc/xmp metadata.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>TRUE on success.</p>
</item>
</terms>

</page>
