<?xml version="1.0"?>
<page id="Gimp.Image.delete"
      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_delete</api:name>
    </api:function>
  </info>
  <title>Gimp.Image.prototype.delete</title>
  <synopsis><code mime="text/x-gjs">
function delete(): Boolean {
    // Gjs wrapper for gimp_image_delete()
}
  </code></synopsis>
  <p>Delete the specified image.</p>  <p>If there are no displays associated with this image it will be
deleted. This means that you can not delete an image through the PDB
that was created by the user. If the associated display was however
created through the PDB and you know the display ID, you may delete
the display. Removal of the last associated display will then delete
the image.</p>

<terms>
<item>
<title><code>Returns</code></title>
  <p>TRUE on success.</p>
</item>
</terms>

</page>
