<?xml version="1.0"?>
<page id="Gimp.Selection.sharpen"
      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="Gimp.Selection" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>bool</api:type>
      </api:returns>
      <api:name>gimp_selection_sharpen</api:name>
      <api:arg>
        <api:type>Gimp.Image</api:type>
        <api:name>image</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Selection.sharpen</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Image)
@returns(bool)
def sharpen(image):
    # Python wrapper for gimp_selection_sharpen()
  </code></synopsis>
  <p>Sharpen the selection mask.</p>  <p>This procedure sharpens the selection mask. For every pixel in the
selection channel, if the value is &amp;gt; 127, the new pixel is
assigned a value of 255. This removes any \"anti-aliasing\" that
might exist in the selection mask's boundary.</p>

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

</page>
