<?xml version="1.0"?>
<page id="Gimp.edit_paste_as_new_image"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.Image</api:type>
      </api:returns>
      <api:name>gimp_edit_paste_as_new_image</api:name>
    </api:function>
  </info>
  <title>Gimp.edit_paste_as_new_image</title>
  <synopsis><code mime="text/x-python">
@returns(Gimp.Image)
def edit_paste_as_new_image():
    # Python wrapper for gimp_edit_paste_as_new_image()
  </code></synopsis>
  <p>Paste buffer to a new image.</p>  <p>This procedure pastes a copy of the internal GIMP edit buffer to a
new image. The GIMP edit buffer will be empty unless a call was
previously made to either <link xref="Gimp.edit_cut"/> or <link xref="Gimp.edit_copy"/>. This
procedure returns the new image or -1 if the edit buffer was empty.</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
