<sect2 id="using-setup-cm">
    <title>Color Management Settings</title>

    <para>
        &digikam; is color-management enabled. RAW files - as they come -  are not color managed at all. Your camera provides the data it has captured in a raw format and will let you manage all the processing. Every camera has its specifics as to how it captures color information, therefore you will need to apply a specific profile to the images you want to process. Please refer to the section <link linkend="using-iccprofile">ICC color profile management</link> for more details an explanations.
    </para>

    <para>
        Basically, a profile "maps" the color information and gives information on how one should render them. It gives also information to LCMS and &digikam; on how to translate the color information from one color space to an other in order to keep the colors as accurate as possible across all rendring media.
    </para>

    <para>
        <inlinemediaobject><imageobject>
            <imagedata fileref="&path;using-setup-cm-behavior.png" format="PNG" />
        </imageobject></inlinemediaobject>
    </para>

    <para>
        <guilabel>Behavior</guilabel> Ask when opening an image in image editor / Launch Color Management tool with RAW files
    </para>

    <para>
        <guilabel>Color Profiles Directory</guilabel> : set this to the folder where you store all your profiles &eg; "/usr/share/color/icc" or "/home/user/.color/icc". &digikam; will scan this folder when starting up.
    </para>

    <para>
        <guilabel>ICC Profiles Settings</guilabel> : here you are given the ability to provide &quot;default&quot; choices for your profiles. Everything is adaptable later-on at the opening of a RAW file.
    </para>

    <itemizedlist>

        <listitem><para>
            The <guilabel>Use color managed view</guilabel> is an alternative to using Xcalib or Argyll. Only your image will be color managed, not your entire screen!
        </para></listitem>

        <listitem><para>
            You have to provide a workspace profile (linear profiles such as sRGB, ECI-RGB, LStar-RGB, Adobe-RGB or CIE-RGB). If you want to print your images, you may want to opt for Adobe RGB, if it is only for web publishing, sRGB is better (Adobe RGB will be displayed slightly dull in non color managed enabled software such as browsers). However you may change this later of course (by attributing another profile), therefore Adobe RGB can be a good choice for storing and image handling as you can always change it to sRGB before releasing an image for your blog. Note: Do not use non-linear profiles as they will change the color-balance.
        </para></listitem>

        <listitem><para>
            The input profile should match the camera maker and model you are using. 'Not all profiles are created equal', there are some that have no tone mapping/gamma correction included (Canon). As of now, dcraw does not correct gamma for 16 bit depth conversion, which means that you have to do the tone mapping yourself.
        </para></listitem>

        <listitem><para>
            There are some other options such as the soft proof profile which enables you to emulate, granted that you have a profile for it, how your image will render for a particular device. It is useful before printing for instance because your printer has a smaller gamut than your camera and some colors might look saturated. You may want to fix this manually instead of relying on the "blind" algorithm of your printer.
        </para></listitem>

    </itemizedlist>

    <para>
        For most cameras it is pretty obvious what color profile they propose for the type at hand, not so for the Canon's. Here is a table of camera/profiles matches, it is non-authoritative of course:
    </para>

    <informaltable><tgroup cols="2">

        <thead><row>
            <entry>Camera</entry>
            <entry>Profile series</entry>
        </row></thead>

        <tbody>
            <row>   <entry>Canon 1D mark II</entry>     <entry>6051</entry>         </row>
            <row>   <entry>Canon 1D mark II</entry>     <entry>6111</entry>         </row>
            <row>   <entry>Canon 1Ds</entry>            <entry>6021</entry>         </row>
            <row>   <entry>Canon 1Ds mark II</entry>    <entry>6081</entry>         </row>
            <row>   <entry>Canon 5D</entry>             <entry>6091</entry>         </row>
            <row>   <entry>Canon 10D</entry>            <entry>6031</entry>         </row>
            <row>   <entry>Canon 20D</entry>            <entry>6061</entry>         </row>
            <row>   <entry>Canon 30D</entry>            <entry>6112</entry>         </row>
            <row>   <entry>Canon 40D</entry>            <entry>6101</entry>         </row>
            <row>   <entry>Canon 300D</entry>           <entry>6031</entry>         </row>
            <row>   <entry>Canon 350D</entry>           <entry>6111 or 6071</entry> </row>
            <row>   <entry>Canon 400D</entry>           <entry>6131</entry>         </row>
        </tbody>

    </tgroup></informaltable>

    <para>
        The Canon profile extension betray the target style: F for Faithful Style, L for Landscape Style, N for Neutral Style, P for Portrait Style, S for Standard Style.
    </para>

    <para>
        Here you find a typical <link linkend="raw-workflow">RAW workflow</link> scenario.
    </para>

    <para>
        <inlinemediaobject><imageobject>
            <imagedata fileref="&path;using-setup-cm-profiles.png" format="PNG" />
        </imageobject></inlinemediaobject>
    </para>

    <para>
        <inlinemediaobject><imageobject>
            <imagedata fileref="&path;using-setup-cm-advanced.png" format="PNG" />
        </imageobject></inlinemediaobject>
    </para>

</sect2>

<!--
Local Variables:
mode: sgml
sgml-omittag: nil
sgml-shorttag: t
End:
-->
