<?xml version="1.0"?>
<page id="Gimp.ColorProfile.new_from_lcms_profile"
      type="topic"
      style="constructor"
      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.ColorProfile" group="constructor" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.ColorProfile</api:type>
      </api:returns>
      <api:name>gimp_color_profile_new_from_lcms_profile</api:name>
      <api:arg>
        <api:type>void</api:type>
        <api:name>lcms_profile</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.ColorProfile.new_from_lcms_profile</title>
  <synopsis><code mime="text/x-gjs">
function new_from_lcms_profile(lcms_profile: void): <link xref="Gimp.ColorProfile">Gimp.ColorProfile</link> {
    // Gjs wrapper for gimp_color_profile_new_from_lcms_profile()
}
  </code></synopsis>
  <p>This function creates a GimpColorProfile from a cmsHPROFILE. On
error, <code>null</code> is returned and @error is set. The passed
<code>lcms_profile</code> pointer is not retained by the created
<link xref="Gimp.ColorProfile"/>.</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>lcms_profile</code></title>
  <p>an LCMS cmsHPROFILE pointer</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>the <link xref="Gimp.ColorProfile"/>, or <code>null</code>.</p>
</item>
</terms>

</page>
