Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • d198bc9
  • /
  • doc
  • /
  • usermanual
  • /
  • darkroom
  • /
  • panels
  • /
  • colorpicker.xml
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:88f728b920a13b3d4596ddd2f5434da57d4b6f0c
directory badge Iframe embedding
swh:1:dir:a00025ab9d3cf8732b7016f74ae8f87aa54a616e
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
colorpicker.xml
<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
               "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
		<!ENTITY % darktable_dtd SYSTEM "../../dtd/darktable.dtd">
		%darktable_dtd;
		]>
<sect2 status="final" id="global_color_picker">

  <title>Global color picker</title>

  <indexterm>
    <primary>darkroom panels</primary>
    <secondary>color picker</secondary>
  </indexterm>

  <indexterm>
    <primary>color picker</primary>
  </indexterm>

  <informaltable frame="none">
    <tgroup cols="2" colsep="0" rowsep="0">
      <colspec colwidth="6*"/>
      <colspec colwidth="4*"/>
      <tbody>
        <row>
          <entry>
            <para>
              Using the global color picker you can take color samples from your image, display
              their values in multiple ways and compare colors from different locations. The
              color picker is activated by pressing the
              <inlinegraphic fileref="&icon_module_picker;" scalefit="1" width="3%" align="center" />
              icon. There are multiple parameters for controlling how the color picker works,
              whose settings remain in effect until you leave the darkroom mode.
            </para>
          </entry>
          <entry>
            <graphic fileref="darkroom/images/panel_colorpicker.png" scalefit="1" width="80%" align="center" />
          </entry>
        </row>
      </tbody>
    </tgroup>
  </informaltable>

  <para>
    Besides the global color picker described here there are also local color pickers in some of
    the modules (eg. <link linkend="tone_curve"> <emphasis>tone curve</emphasis></link>). Global
    and local color pickers are different. The global color picker works in monitor color space
    and takes samples after the complete pixelpipe has been processed. The local color pickers
    run in the color space of the individual module, which is usually Lab; they reflect the
    input and output data of that specific module within pixelpipe.
  </para>

  <para>
    The global color picker can be run in point or area mode. When in point mode only a small
    spot under your cursor is taken as a sample. In area mode you can draw a rectangle and
    darktable samples the area within that rectangle. The combobox to switch between point and
    area mode can also be used to toggle the mode of local color pickers.
  </para>

  <para>
    If samples are taken in area mode, darktable will calculate mean, min and max color channel
    values. A combobox allows you to select which of those are displayed. For obvious
    statistical reasons mean, min and max are identical for the single sample of point mode.
  </para>

  <para>
    A color swatch representing the sampled point or area is displayed. Numerical values are
    shown as well. As said before global color picker works in monitor RGB color space. You can
    also let darktable translate these numerical values into Lab color space. Beware that Lab
    values are approximated here; depending on monitor color profile there can be some
    deviations from the real values.
  </para>

  <para>
    When the checkbox <quote>restrict histogram to selection</quote> is ticked, only the values
    of your selected area or point are taken into account by the main histogram at the top of
    the right hand panel (see <xref linkend="histogram"/>). This is a way to show which tonal
    values are present in a specific area.
  </para>

  <para>
    The sampled colors in either area or point mode can be <quote>stored</quote> as live samples
    by pressing the <quote>add</quote> button. darktable will then show a color swatch and
    numerical values for each stored sample. You can once again select which numerical value
    (mean, min, max) is to be displayed and if this is to be done in RGB or Lab color space.
  </para>

  <para>
    Newly created live samples are not locked. If you change your image the changes will be
    reflected in your live samples. Use this if you want see how changing parameters effects
    different parts of an image. Clicking on a live sample's color swatch locks it and a lock
    symbol is displayed. Further image changes will then no longer affect the sample. You can
    for example take two live samples from the same location and lock just one of them to
    provide a before and after sample comparison.
  </para>

  <para>
    Live sample locations are indicated in your image if you check option <quote>display sample
    areas on image</quote>.
  </para>

</sect2>

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top