summaryrefslogtreecommitdiffstats
path: root/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorProfile.html
diff options
context:
space:
mode:
Diffstat (limited to 'devel-docs/libgimpcolor/html/libgimpcolor-GimpColorProfile.html')
-rw-r--r--devel-docs/libgimpcolor/html/libgimpcolor-GimpColorProfile.html1138
1 files changed, 1138 insertions, 0 deletions
diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorProfile.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorProfile.html
new file mode 100644
index 0000000..c6c8d96
--- /dev/null
+++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpColorProfile.html
@@ -0,0 +1,1138 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>GimpColorProfile: GIMP Color Library Reference Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="GIMP Color Library Reference Manual">
+<link rel="up" href="pt01.html" title="Part I. GIMP Color Library">
+<link rel="prev" href="GimpColorManaged.html" title="GimpColorManaged">
+<link rel="next" href="libgimpcolor-GimpColorTransform.html" title="GimpColorTransform">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#libgimpcolor-GimpColorProfile.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="GimpColorManaged.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="libgimpcolor-GimpColorTransform.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="libgimpcolor-GimpColorProfile"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="libgimpcolor-GimpColorProfile.top_of_page"></a>GimpColorProfile</span></h2>
+<p>GimpColorProfile — Definitions and Functions relating to LCMS.</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="libgimpcolor-GimpColorProfile.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb" title="gimp_color_profile_new_rgb_srgb ()">gimp_color_profile_new_rgb_srgb</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb-linear" title="gimp_color_profile_new_rgb_srgb_linear ()">gimp_color_profile_new_rgb_srgb_linear</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-adobe" title="gimp_color_profile_new_rgb_adobe ()">gimp_color_profile_new_rgb_adobe</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d65-gray-srgb-trc" title="gimp_color_profile_new_d65_gray_srgb_trc ()">gimp_color_profile_new_d65_gray_srgb_trc</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d65-gray-linear" title="gimp_color_profile_new_d65_gray_linear ()">gimp_color_profile_new_d65_gray_linear</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-d50-gray-lab-trc" title="gimp_color_profile_new_d50_gray_lab_trc ()">gimp_color_profile_new_d50_gray_lab_trc</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-srgb-trc-from-color-profile" title="gimp_color_profile_new_srgb_trc_from_color_profile ()">gimp_color_profile_new_srgb_trc_from_color_profile</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-linear-from-color-profile" title="gimp_color_profile_new_linear_from_color_profile ()">gimp_color_profile_new_linear_from_color_profile</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-file" title="gimp_color_profile_new_from_file ()">gimp_color_profile_new_from_file</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-icc-profile" title="gimp_color_profile_new_from_icc_profile ()">gimp_color_profile_new_from_icc_profile</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">GimpColorProfile</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-from-lcms-profile" title="gimp_color_profile_new_from_lcms_profile ()">gimp_color_profile_new_from_lcms_profile</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">gboolean</span>
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-save-to-file" title="gimp_color_profile_save_to_file ()">gimp_color_profile_save_to_file</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">guint8</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-icc-profile" title="gimp_color_profile_get_icc_profile ()">gimp_color_profile_get_icc_profile</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">gpointer</span>
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-lcms-profile" title="gimp_color_profile_get_lcms_profile ()">gimp_color_profile_get_lcms_profile</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">gchar</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-description" title="gimp_color_profile_get_description ()">gimp_color_profile_get_description</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">gchar</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-manufacturer" title="gimp_color_profile_get_manufacturer ()">gimp_color_profile_get_manufacturer</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">gchar</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-model" title="gimp_color_profile_get_model ()">gimp_color_profile_get_model</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">gchar</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-copyright" title="gimp_color_profile_get_copyright ()">gimp_color_profile_get_copyright</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">gchar</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-label" title="gimp_color_profile_get_label ()">gimp_color_profile_get_label</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">gchar</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-summary" title="gimp_color_profile_get_summary ()">gimp_color_profile_get_summary</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">gboolean</span>
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-equal" title="gimp_color_profile_is_equal ()">gimp_color_profile_is_equal</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">gboolean</span>
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-rgb" title="gimp_color_profile_is_rgb ()">gimp_color_profile_is_rgb</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">gboolean</span>
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-gray" title="gimp_color_profile_is_gray ()">gimp_color_profile_is_gray</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">gboolean</span>
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-cmyk" title="gimp_color_profile_is_cmyk ()">gimp_color_profile_is_cmyk</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">gboolean</span>
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-is-linear" title="gimp_color_profile_is_linear ()">gimp_color_profile_is_linear</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">Babl</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-space" title="gimp_color_profile_get_space ()">gimp_color_profile_get_space</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">Babl</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-format" title="gimp_color_profile_get_format ()">gimp_color_profile_get_format</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">Babl</span> *
+</td>
+<td class="function_name">
+<a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-lcms-format" title="gimp_color_profile_get_lcms_format ()">gimp_color_profile_get_lcms_format</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="libgimpcolor-GimpColorProfile.description"></a><h2>Description</h2>
+<p>Definitions and Functions relating to LCMS.</p>
+</div>
+<div class="refsect1">
+<a name="libgimpcolor-GimpColorProfile.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="gimp-color-profile-new-rgb-srgb"></a><h3>gimp_color_profile_new_rgb_srgb ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_rgb_srgb (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>This function is a replacement for <code class="function">cmsCreate_sRGBProfile()</code> and
+returns an sRGB profile that is functionally the same as the
+ArgyllCMS sRGB.icm profile. "Functionally the same" means it has
+the same red, green, and blue colorants and the V4 "chad"
+equivalent of the ArgyllCMS V2 white point. The profile TRC is also
+functionally equivalent to the ArgyllCMS sRGB.icm TRC and is the
+same as the LCMS sRGB built-in profile TRC.</p>
+<p>The actual primaries in the sRGB specification are
+red xy: {0.6400, 0.3300, 1.0}
+green xy: {0.3000, 0.6000, 1.0}
+blue xy: {0.1500, 0.0600, 1.0}</p>
+<p>The sRGB primaries given below are "pre-quantized" to compensate
+for hexadecimal quantization during the profile-making process.
+Unless the profile-making code compensates for this quantization,
+the resulting profile's red, green, and blue colorants will deviate
+slightly from the correct XYZ values.</p>
+<p>LCMS2 doesn't compensate for hexadecimal quantization. The
+"pre-quantized" primaries below were back-calculated from the
+ArgyllCMS sRGB.icm profile. The resulting sRGB profile's colorants
+exactly matches the ArgyllCMS sRGB.icm profile colorants.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-new-rgb-srgb.returns"></a><h4>Returns</h4>
+<p> the sRGB <span class="type">GimpColorProfile</span>.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-new-rgb-srgb-linear"></a><h3>gimp_color_profile_new_rgb_srgb_linear ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_rgb_srgb_linear
+ (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>This function creates a profile for babl_model("RGB"). Please
+somebody write something smarter here.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-new-rgb-srgb-linear.returns"></a><h4>Returns</h4>
+<p> the linear RGB <span class="type">GimpColorProfile</span>.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-new-rgb-adobe"></a><h3>gimp_color_profile_new_rgb_adobe ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_rgb_adobe (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>This function creates a profile compatible with AbobeRGB (1998).</p>
+<div class="refsect3">
+<a name="gimp-color-profile-new-rgb-adobe.returns"></a><h4>Returns</h4>
+<p> the AdobeRGB-compatible <span class="type">GimpColorProfile</span>.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-new-d65-gray-srgb-trc"></a><h3>gimp_color_profile_new_d65_gray_srgb_trc ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_d65_gray_srgb_trc
+ (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>This function creates a grayscale <span class="type">GimpColorProfile</span> with an
+sRGB TRC. See <a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-new-rgb-srgb" title="gimp_color_profile_new_rgb_srgb ()"><code class="function">gimp_color_profile_new_rgb_srgb()</code></a>.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-new-d65-gray-srgb-trc.returns"></a><h4>Returns</h4>
+<p> the sRGB-gamma grayscale <span class="type">GimpColorProfile</span>.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-new-d65-gray-linear"></a><h3>gimp_color_profile_new_d65_gray_linear ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_d65_gray_linear
+ (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-new-d50-gray-lab-trc"></a><h3>gimp_color_profile_new_d50_gray_lab_trc ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_d50_gray_lab_trc
+ (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>This function creates a grayscale <span class="type">GimpColorProfile</span> with the
+D50 ICC profile illuminant as the profile white point and the
+LAB companding curve as the TRC.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-new-d50-gray-lab-trc.returns"></a><h4>Returns</h4>
+<p> a gray profile with the D50 ICC profile illuminant
+as the profile white point and the LAB companding curve as the TRC.
+as the TRC.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-new-srgb-trc-from-color-profile"></a><h3>gimp_color_profile_new_srgb_trc_from_color_profile ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_srgb_trc_from_color_profile
+ (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<p>This function creates a new RGB <span class="type">GimpColorProfile</span> with a sRGB gamma
+TRC and <em class="parameter"><code>profile</code></em>
+'s RGB chromacities and whitepoint.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-new-srgb-trc-from-color-profile.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-new-srgb-trc-from-color-profile.returns"></a><h4>Returns</h4>
+<p> the new <span class="type">GimpColorProfile</span>, or <code class="literal">NULL</code> if <em class="parameter"><code>profile</code></em>
+is not
+an RGB profile or not matrix-based.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-new-linear-from-color-profile"></a><h3>gimp_color_profile_new_linear_from_color_profile ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_linear_from_color_profile
+ (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<p>This function creates a new RGB <span class="type">GimpColorProfile</span> with a linear TRC
+and <em class="parameter"><code>profile</code></em>
+'s RGB chromacities and whitepoint.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-new-linear-from-color-profile.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-new-linear-from-color-profile.returns"></a><h4>Returns</h4>
+<p> the new <span class="type">GimpColorProfile</span>, or <code class="literal">NULL</code> if <em class="parameter"><code>profile</code></em>
+is not
+an RGB profile or not matrix-based.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-new-from-file"></a><h3>gimp_color_profile_new_from_file ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_from_file (<em class="parameter"><code><span class="type">GFile</span> *file</code></em>,
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
+<p>This function opens an ICC color profile from <em class="parameter"><code>file</code></em>
+.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-new-from-file.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>file</p></td>
+<td class="parameter_description"><p>a <span class="type">GFile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-new-from-file.returns"></a><h4>Returns</h4>
+<p> the <span class="type">GimpColorProfile</span>, or <code class="literal">NULL</code>. On error, <code class="literal">NULL</code> is
+returned and <em class="parameter"><code>error</code></em>
+is set.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-new-from-icc-profile"></a><h3>gimp_color_profile_new_from_icc_profile ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_from_icc_profile
+ (<em class="parameter"><code>const <span class="type">guint8</span> *data</code></em>,
+ <em class="parameter"><code><span class="type">gsize</span> length</code></em>,
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
+<p>This function opens an ICC color profile from memory. On error,
+<code class="literal">NULL</code> is returned and <em class="parameter"><code>error</code></em>
+ is set.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-new-from-icc-profile.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>data</p></td>
+<td class="parameter_description"><p>pointer to memory containing an ICC profile</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of the profile in memory, in bytes</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-new-from-icc-profile.returns"></a><h4>Returns</h4>
+<p> the <span class="type">GimpColorProfile</span>, or <code class="literal">NULL</code>.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-new-from-lcms-profile"></a><h3>gimp_color_profile_new_from_lcms_profile ()</h3>
+<pre class="programlisting"><span class="returnvalue">GimpColorProfile</span> *
+gimp_color_profile_new_from_lcms_profile
+ (<em class="parameter"><code><span class="type">gpointer</span> lcms_profile</code></em>,
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
+<p>This function creates a GimpColorProfile from a cmsHPROFILE. On
+error, <code class="literal">NULL</code> is returned and <em class="parameter"><code>error</code></em>
+ is set. The passed
+<em class="parameter"><code>lcms_profile</code></em>
+ pointer is not retained by the created
+<span class="type">GimpColorProfile</span>.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-new-from-lcms-profile.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>lcms_profile</p></td>
+<td class="parameter_description"><p>an LCMS cmsHPROFILE pointer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-new-from-lcms-profile.returns"></a><h4>Returns</h4>
+<p> the <span class="type">GimpColorProfile</span>, or <code class="literal">NULL</code>.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-save-to-file"></a><h3>gimp_color_profile_save_to_file ()</h3>
+<pre class="programlisting"><span class="returnvalue">gboolean</span>
+gimp_color_profile_save_to_file (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>,
+ <em class="parameter"><code><span class="type">GFile</span> *file</code></em>,
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
+<p>This function saves <em class="parameter"><code>profile</code></em>
+ to <em class="parameter"><code>file</code></em>
+ as ICC profile.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-save-to-file.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>file</p></td>
+<td class="parameter_description"><p>a <span class="type">GFile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-save-to-file.returns"></a><h4>Returns</h4>
+<p> <code class="literal">TRUE</code> on success, <code class="literal">FALSE</code> if an error occurred.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-icc-profile"></a><h3>gimp_color_profile_get_icc_profile ()</h3>
+<pre class="programlisting">const <span class="returnvalue">guint8</span> *
+gimp_color_profile_get_icc_profile (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>,
+ <em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
+<p>This function returns <em class="parameter"><code>profile</code></em>
+ as ICC profile data. The returned
+memory belongs to <em class="parameter"><code>profile</code></em>
+ and must not be modified or freed.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-get-icc-profile.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>return location for the number of bytes</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-icc-profile.returns"></a><h4>Returns</h4>
+<p> a pointer to the IIC profile data.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-lcms-profile"></a><h3>gimp_color_profile_get_lcms_profile ()</h3>
+<pre class="programlisting"><span class="returnvalue">gpointer</span>
+gimp_color_profile_get_lcms_profile (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<p>This function returns <em class="parameter"><code>profile</code></em>
+'s cmsHPROFILE. The returned
+value belongs to <em class="parameter"><code>profile</code></em>
+ and must not be modified or freed.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-get-lcms-profile.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-lcms-profile.returns"></a><h4>Returns</h4>
+<p> a pointer to the cmsHPROFILE.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-description"></a><h3>gimp_color_profile_get_description ()</h3>
+<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+gimp_color_profile_get_description (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<div class="refsect3">
+<a name="gimp-color-profile-get-description.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-description.returns"></a><h4>Returns</h4>
+<p> a string containing <em class="parameter"><code>profile</code></em>
+'s description. The
+returned value belongs to <em class="parameter"><code>profile</code></em>
+and must not be
+modified or freed.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-manufacturer"></a><h3>gimp_color_profile_get_manufacturer ()</h3>
+<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+gimp_color_profile_get_manufacturer (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<div class="refsect3">
+<a name="gimp-color-profile-get-manufacturer.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-manufacturer.returns"></a><h4>Returns</h4>
+<p> a string containing <em class="parameter"><code>profile</code></em>
+'s manufacturer. The
+returned value belongs to <em class="parameter"><code>profile</code></em>
+and must not be
+modified or freed.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-model"></a><h3>gimp_color_profile_get_model ()</h3>
+<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+gimp_color_profile_get_model (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<div class="refsect3">
+<a name="gimp-color-profile-get-model.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-model.returns"></a><h4>Returns</h4>
+<p> a string containing <em class="parameter"><code>profile</code></em>
+'s model. The returned
+value belongs to <em class="parameter"><code>profile</code></em>
+and must not be modified or
+freed.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-copyright"></a><h3>gimp_color_profile_get_copyright ()</h3>
+<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+gimp_color_profile_get_copyright (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<div class="refsect3">
+<a name="gimp-color-profile-get-copyright.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-copyright.returns"></a><h4>Returns</h4>
+<p> a string containing <em class="parameter"><code>profile</code></em>
+'s copyright. The
+returned value belongs to <em class="parameter"><code>profile</code></em>
+and must not be
+modified or freed.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-label"></a><h3>gimp_color_profile_get_label ()</h3>
+<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+gimp_color_profile_get_label (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<p>This function returns a string containing <em class="parameter"><code>profile</code></em>
+'s "title", a
+string that can be used to label the profile in a user interface.</p>
+<p>Unlike <a class="link" href="libgimpcolor-GimpColorProfile.html#gimp-color-profile-get-description" title="gimp_color_profile_get_description ()"><code class="function">gimp_color_profile_get_description()</code></a>, this function always
+returns a string (as a fallback, it returns "(unnamed profile)").</p>
+<div class="refsect3">
+<a name="gimp-color-profile-get-label.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-label.returns"></a><h4>Returns</h4>
+<p> the <em class="parameter"><code>profile</code></em>
+'s label. The returned value belongs to
+<em class="parameter"><code>profile</code></em>
+and must not be modified or freed.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-summary"></a><h3>gimp_color_profile_get_summary ()</h3>
+<pre class="programlisting">const <span class="returnvalue">gchar</span> *
+gimp_color_profile_get_summary (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<p>This function return a string containing a multi-line summary of
+<em class="parameter"><code>profile</code></em>
+'s description, model, manufacturer and copyright, to be
+used as detailed information about the profile in a user
+interface.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-get-summary.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-summary.returns"></a><h4>Returns</h4>
+<p> the <em class="parameter"><code>profile</code></em>
+'s summary. The returned value belongs to
+<em class="parameter"><code>profile</code></em>
+and must not be modified or freed.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-is-equal"></a><h3>gimp_color_profile_is_equal ()</h3>
+<pre class="programlisting"><span class="returnvalue">gboolean</span>
+gimp_color_profile_is_equal (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile1</code></em>,
+ <em class="parameter"><code><span class="type">GimpColorProfile</span> *profile2</code></em>);</pre>
+<p>Compares two profiles.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-is-equal.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>profile1</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>profile2</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-is-equal.returns"></a><h4>Returns</h4>
+<p> <code class="literal">TRUE</code> if the profiles are equal, <code class="literal">FALSE</code> otherwise.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-is-rgb"></a><h3>gimp_color_profile_is_rgb ()</h3>
+<pre class="programlisting"><span class="returnvalue">gboolean</span>
+gimp_color_profile_is_rgb (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<div class="refsect3">
+<a name="gimp-color-profile-is-rgb.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-is-rgb.returns"></a><h4>Returns</h4>
+<p> <code class="literal">TRUE</code> if the profile's color space is RGB, <code class="literal">FALSE</code>
+otherwise.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-is-gray"></a><h3>gimp_color_profile_is_gray ()</h3>
+<pre class="programlisting"><span class="returnvalue">gboolean</span>
+gimp_color_profile_is_gray (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<div class="refsect3">
+<a name="gimp-color-profile-is-gray.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-is-gray.returns"></a><h4>Returns</h4>
+<p> <code class="literal">TRUE</code> if the profile's color space is grayscale, <code class="literal">FALSE</code>
+otherwise.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-is-cmyk"></a><h3>gimp_color_profile_is_cmyk ()</h3>
+<pre class="programlisting"><span class="returnvalue">gboolean</span>
+gimp_color_profile_is_cmyk (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<div class="refsect3">
+<a name="gimp-color-profile-is-cmyk.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-is-cmyk.returns"></a><h4>Returns</h4>
+<p> <code class="literal">TRUE</code> if the profile's color space is CMYK, <code class="literal">FALSE</code>
+otherwise.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-is-linear"></a><h3>gimp_color_profile_is_linear ()</h3>
+<pre class="programlisting"><span class="returnvalue">gboolean</span>
+gimp_color_profile_is_linear (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>);</pre>
+<p>This function determines is the ICC profile represented by a GimpColorProfile
+is a linear RGB profile or not, some profiles that are LUTs though linear
+will also return FALSE;</p>
+<div class="refsect3">
+<a name="gimp-color-profile-is-linear.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-is-linear.returns"></a><h4>Returns</h4>
+<p> <code class="literal">TRUE</code> if the profile is a matrix shaping profile with linear
+TRCs, <code class="literal">FALSE</code> otherwise.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-space"></a><h3>gimp_color_profile_get_space ()</h3>
+<pre class="programlisting">const <span class="returnvalue">Babl</span> *
+gimp_color_profile_get_space (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>,
+ <em class="parameter"><code><span class="type">GimpColorRenderingIntent</span> intent</code></em>,
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
+<p>This function returns the <span class="type">Babl</span> space of <em class="parameter"><code>profile</code></em>
+, for the
+specified <em class="parameter"><code>intent</code></em>
+.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-get-space.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>intent</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorRenderingIntent</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-space.returns"></a><h4>Returns</h4>
+<p> the new <span class="type">Babl</span> space.</p>
+</div>
+<p class="since">Since: 2.10.6</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-format"></a><h3>gimp_color_profile_get_format ()</h3>
+<pre class="programlisting">const <span class="returnvalue">Babl</span> *
+gimp_color_profile_get_format (<em class="parameter"><code><span class="type">GimpColorProfile</span> *profile</code></em>,
+ <em class="parameter"><code>const <span class="type">Babl</span> *format</code></em>,
+ <em class="parameter"><code><span class="type">GimpColorRenderingIntent</span> intent</code></em>,
+ <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
+<p>This function takes a <span class="type">GimpColorProfile</span> and a <span class="type">Babl</span> format and
+returns a new <span class="type">Babl</span> format with <em class="parameter"><code>profile</code></em>
+'s RGB primaries and TRC,
+and <em class="parameter"><code>format</code></em>
+'s pixel layout.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-get-format.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>profile</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorProfile</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>format</p></td>
+<td class="parameter_description"><p>a <span class="type">Babl</span> format</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>intent</p></td>
+<td class="parameter_description"><p>a <span class="type">GimpColorRenderingIntent</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>error</p></td>
+<td class="parameter_description"><p>return location for <span class="type">GError</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-format.returns"></a><h4>Returns</h4>
+<p> the new <span class="type">Babl</span> format.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="gimp-color-profile-get-lcms-format"></a><h3>gimp_color_profile_get_lcms_format ()</h3>
+<pre class="programlisting">const <span class="returnvalue">Babl</span> *
+gimp_color_profile_get_lcms_format (<em class="parameter"><code>const <span class="type">Babl</span> *format</code></em>,
+ <em class="parameter"><code><span class="type">guint32</span> *lcms_format</code></em>);</pre>
+<p>This function takes a <span class="type">Babl</span> format and returns the lcms format to
+be used with that <em class="parameter"><code>format</code></em>
+. It also returns a <span class="type">Babl</span> format to be
+used instead of the passed <em class="parameter"><code>format</code></em>
+, which usually is the same as
+<em class="parameter"><code>format</code></em>
+, unless lcms doesn't support <em class="parameter"><code>format</code></em>
+.</p>
+<p>Note that this function currently only supports RGB, RGBA, R'G'B',
+R'G'B'A, Y, YA, Y', Y'A and the cairo-RGB24 and cairo-ARGB32 formats.</p>
+<div class="refsect3">
+<a name="gimp-color-profile-get-lcms-format.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>format</p></td>
+<td class="parameter_description"><p>a <span class="type">Babl</span> format</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>lcms_format</p></td>
+<td class="parameter_description"><p>return location for an lcms format</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="gimp-color-profile-get-lcms-format.returns"></a><h4>Returns</h4>
+<p> the <span class="type">Babl</span> format to be used instead of <em class="parameter"><code>format</code></em>
+, or <code class="literal">NULL</code>
+if the passed <em class="parameter"><code>format</code></em>
+is not supported at all.</p>
+</div>
+<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file