<?xml version="1.0"?>
<page id="Gimp.Image.convert_color_profile"
      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_convert_color_profile</api:name>
      <api:arg>
        <api:type>Gimp.ColorProfile</api:type>
        <api:name>profile</api:name>
      </api:arg>
      <api:arg>
        <api:type>Gimp.ColorRenderingIntent</api:type>
        <api:name>intent</api:name>
      </api:arg>
      <api:arg>
        <api:type>Boolean</api:type>
        <api:name>bpc</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Image.prototype.convert_color_profile</title>
  <synopsis><code mime="text/x-gjs">
function convert_color_profile(profile: <link xref="Gimp.ColorProfile">Gimp.ColorProfile</link>, intent: <link xref="Gimp.ColorRenderingIntent">Gimp.ColorRenderingIntent</link>, bpc: Boolean): Boolean {
    // Gjs wrapper for gimp_image_convert_color_profile()
}
  </code></synopsis>
  <p>Convert the image's layers to a color profile</p>  <p>This procedure converts from the image's color profile (or the
default RGB profile if none is set) to the given color profile. Only
RGB color profiles are accepted.</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>profile</code></title>
  <p>The color profile to convert to.</p>
</item>
<item>
<title><code>intent</code></title>
  <p>Rendering intent.</p>
</item>
<item>
<title><code>bpc</code></title>
  <p>Black point compensation.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>TRUE on success.</p>
</item>
</terms>

</page>
