<?xml version="1.0"?>
<page id="Gimp.Channel.copy"
      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.Channel" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.Channel</api:type>
      </api:returns>
      <api:name>gimp_channel_copy</api:name>
      <api:arg>
        <api:type>Gimp.Channel</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Channel.copy</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Channel)
@returns(Gimp.Channel)
def copy(self):
    # Python wrapper for gimp_channel_copy()
  </code></synopsis>
  <p>Copy a channel.</p>  <p>This procedure copies the specified channel and returns the copy.
The new channel still needs to be added to the image, as this is not
automatic. Add the new channel with <link xref="Gimp.Image.insert_channel"/>.</p>

<terms>
<item>
<title><code>self</code></title>
  <p>The channel to copy.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
