<?xml version="1.0"?>
<page id="Gimp.Image.set_resolution"
      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>bool</api:type>
      </api:returns>
      <api:name>gimp_image_set_resolution</api:name>
      <api:arg>
        <api:type>Gimp.Image</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>float</api:type>
        <api:name>xresolution</api:name>
      </api:arg>
      <api:arg>
        <api:type>float</api:type>
        <api:name>yresolution</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Image.set_resolution</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Image, float, float)
@returns(bool)
def set_resolution(self, xresolution, yresolution):
    # Python wrapper for gimp_image_set_resolution()
  </code></synopsis>
  <p>Sets the specified image's resolution.</p>  <p>This procedure sets the specified image's resolution in dots per
inch. This value is independent of any of the layers in this image.
No scaling or resizing is performed.</p>

<terms>
<item>
<title><code>self</code></title>
  <p>The image.</p>
</item>
<item>
<title><code>xresolution</code></title>
  <p>The new image resolution in the x-axis, in dots per inch.</p>
</item>
<item>
<title><code>yresolution</code></title>
  <p>The new image resolution in the y-axis, in dots per inch.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
