Warning, /documentation/digikam-doc/color_management/monitor_profiles.rst is written in an unsupported language. File is not indexed.

0001 .. meta::
0002    :description: Color Management and Monitor Profiles
0003    :keywords: digiKam, documentation, user manual, photo management, open source, free, learn, easy, image editor, color management, icc, profile, srgb, monitor
0004 
0005 .. metadata-placeholder
0006 
0007    :authors: - digiKam Team
0008 
0009    :license: see Credits and License page for details (https://docs.digikam.org/en/credits_license.html)
0010 
0011 .. _monitor_profiles:
0012 
0013 The Monitor Profiles
0014 ====================
0015 
0016 sRGB Color space
0017 ----------------
0018 
0019 sRGB is widely accepted as a standard color profile by virtually everyone involved with consumer-oriented imaging. sRGB was proposed in 1996 by Hewlett Packard and Microsoft as a standardized color space for consumer-oriented applications. As stated in the initial proposal:
0020 
0021     - Hewlett-Packard and Microsoft propose the addition of support for a standard color space, sRGB, within the Microsoft operating systems, HP products, the Internet, and all other interested vendors. The aim of this color space is to complement the current color management strategies by enabling a third method of handling color in the operating systems, device drivers and the Internet that utilizes a simple and robust device independent color definition. This will provide good quality and backward compatibility with minimum transmission and system overhead. Based on a calibrated colorimetric RGB color space well suited to Cathode Ray Tube (CRT) monitors, television, scanners, digital cameras, and printing systems, such a space can be supported with minimum cost to software and hardware vendors.
0022 
0023     - Currently, the ICC (International Color Consortium) tracks and ensures that a color is correctly mapped from the input to the output color space. By attaching a profile for the input color space to the image in question. This is appropriate for high end users. However, there are a broad range of users that do not require this level of flexibility and control. Additionally, most existing file formats do not, and may never support color profile embedding, and finally, there are a broad range of uses [that] actually discourage people from appending any extra data to their files. A common standard RGB color space addresses these issues by merging the many standard and non-standard RGB monitor spaces into a single standard RGB color space. Such a standard could dramatically improve the color fidelity in the desktop environment. For example, if operating system vendors provide support for a standard RGB color space, the input and output device vendors that support this standard color space could easily and confidently communicate color without further color management overhead in the most common situations.
0024 
0025 To summarize, the point of the by-now almost universally adopted sRGB color space was and is to make life easier for consumers (no need to worry about color management), less expensive for manufacturers (no need to worry about compatibility between consumer-level digital cameras or scanners, monitors, printers, and so forth), and more convenient for displaying images on the Internet (don't worry about embedding and reading ICC profiles - just assume sRGB).
0026 
0027 So if sRGB works so well and makes life so easy for everyone, why use any other color space and thus be forced to worry about color management issues?
0028 
0029 sRGB was designed to contain colors easily displayed on consumer-oriented monitors and printed by consumer-oriented printers manufactured since 1996. This least-common-denominator set of viewable and printable colors - the technical term is **color gamut** - is much smaller than the set of colors we can see in the real world, much smaller than the set of colors today's digital cameras can capture, much smaller than the set of colors today's printers can print, and much smaller than the color gamut of the new wide gamut monitors that are beginning to enter the consumer market. For anyone who wants to make use of the wider color gamuts available today even at the consumer level, the gamut of sRGB is too small. Conversely, if you don't intend to make use of an expanded gamut of colors at any point in your digital imaging workflow, then you don't need to worry about non-sRGB color spaces and all the attending intricacies of color management.
0030 
0031 sRGB Limitations
0032 ----------------
0033 
0034 A visual representation of the limitations of sRGB compared to the colors we actually see in the real world is presented here after. It shows a two-dimensional representation of all the colors we can see (the horseshoe-shaped region) and the colors contained in the sRGB space (the smaller triangular region).
0035 
0036 .. figure:: images/cm_srgb_d65_gamut.webp
0037     :alt:
0038     :align: center
0039 
0040     The Gamut of D65 sRGB Color Profile Used by Default with Standard LCD Monitor
0041 
0042 Profiling Your Monitor
0043 ----------------------
0044 
0045 If you choose to work exclusively in the sRGB color space, do you need to calibrate your monitor? Whether you stay within the color gamut provided by sRGB or not, you need a properly calibrated monitor because sRGB assumes that your monitor is calibrated to sRGB. Your monitor calibration closes the loop. If you work within the color gamut provided by sRGB then you need to calibrate your monitor to the sRGB standard (or produce and use an accurate monitor profile, or both). What are the consequences of working with an uncalibrated monitor?
0046 
0047 There are several possible consequences, none of them good. Every monitor, calibrated or otherwise, has a native (uncalibrated) white point, expressed as a temperature in degrees Kelvin. The white point of a monitor (calibrated or not) is the color you see when you are looking at a patch of pure white on your screen. Pure white is when the RGB values in your image all equal 255 (as expressed in 8-bits), such as the plain white background of a web page or an office document. You are thinking, *white is white* but if you were able to line up several monitors calibrated to different white points, you would see that the higher the temperature of the monitor's white point, the bluer the screen looks in comparison with monitors with lower white points.
0048 
0049 If you can find the controls of your own monitor, change the temperature up and down (remembering to put it back to its initial setting when you are done, unless you decide you want a different white point). Your eyes, which adapt quickly to a constant white point, will easily discern the screen getting bluer and yellower as you move the white point higher and lower. If your uncalibrated monitor is too blue (native CRT color temperature is typically 9300K and sRGB assumes 6500K), as you edit your image you will overcompensate and produce images that will look yellowish and too warm on a properly calibrated monitor. Conversely, if your monitor is too yellow because the color temperature is set too low (LCD native color temperature is around 5500K), your images will look blueish/too cool on a properly calibrated monitor.
0050 
0051 Setting a proper white point is only part of monitor calibration. You also need a proper black point, brightness (luminance), and gamma (transfer) function. If your monitor is too dark because the black point is set too low, you will overcompensate and produce images that look washed out on a properly calibrated monitor. Conversely, if your monitor black point is set too high, your images will look took dark and overly saturated on a properly calibrated monitor.
0052 
0053 If the brightness/contrast is set too high, you will assume your images have a lot more *pop* than they really have when viewed on a properly calibrated monitor, plus your eyes will hurt and your LCD screen will burn out faster.
0054 
0055 .. figure:: images/cm_editor_switch_button.webp
0056     :alt:
0057     :align: center
0058 
0059     :kbd:`F12` Shortcut Allows to Turn On/Off the Color Management in Image Editor and all digiKam Thumbnail Views
0060 
0061 If your monitor gamma is improperly set, your tonal variations from dark to light will be off. That is, the shadows or highlights might be overly compressed or expanded, leading you to compensate in the opposite direction. So when viewed on a properly calibrated monitor, the shadows might be too bright or dark (or the highlights too dark or bright), with the rest of the image suffering from tonal over-compression. And heaven help you if the internal R, G, and B guns (or LCD equivalent) of your monitor are improperly set (each gun has its own black point and gain), because the resulting color casts - too green, too magenta, too orange, etc. that you will inevitably create by *correcting* your image during editing - are very obvious when viewed on a properly calibrated monitor.
0062 
0063 Whether or not your monitor is properly calibrated, you might be surprised by the results of comparing an image you've edited on your home monitor to the same image as displayed by other monitors in your house or on your friend's and neighbor's monitors. Every image edited on either monitor looked very wrong on the other monitor, until we purchased a spectrophotometer to calibrate and profile both monitors. Unfortunately, at this point neither of these two monitors can be calibrated to display a proper black point, so they are no longer used for image editing - the point being that an additional benefit of using a spectrophotometer is you know when it's time replace your monitor.
0064 
0065 The meaning of **black point** and **brightness** seems pretty clear, but what does **gamma** mean? **Gamma compression**, also known as gamma encoding, is used to encode **linear luminance** or RGB values into video signals or digital video file values; **gamma expansion** is the inverse, or decoding, process.
0066 
0067 Gamma encoding helps to map data (both analog and digital) into a more perceptually uniform domain. If you wade very deeply into image editing and color management, eventually you will need to make decisions about what gamma (or other encoding/decoding function) you want to use when you calibrate your monitor, profile your digital camera, and choose a working color space. When in doubt (for those of you who just want to know which button to push), gamma=2.2 is a widely-used value, both for monitor calibration and working color spaces.
0068 
0069 What's the difference between calibrating a monitor and profiling a monitor? When first learning about color management, many people are confused about the difference between calibrating and profiling a monitor. Calibration is a process where a device is brought into some defined state by making adjustments to its controls or some other physical means. For example, the act of calibrating a monitor involves adjusting its **white point**, **black level**, **luminosity** and **gamma** to predetermined or standard values using the monitor's controls and by altering the video card gamma ramp.
0070 
0071 In contrast to calibration, the process of creating a profile is a characterization of the device that does not involve making any changes or adjustments to the device. Rather it is a measurement process that results in a file that contains a precise mathematical description of the device's color and tonality characteristics. This file is an **ICC profile**. These characteristics include the transfer function from the device's color space to a standardized absolute color space (this is called a Profile Color Space in an ICC profile), the device's **white point**, **black point**, **primaries** and other information. Displays are normally characterized (profiled) in their calibrated state.
0072 
0073 To summarize, calibration makes changes to the device to alter it's color reproduction characteristics to conform to some predetermined state. Profiling or characterization is a measurement process that results in a detailed description of the device's (normally calibrated) color reproduction characteristics.
0074 
0075 Calibrating your monitor technically is not really part of color management. But obviously a properly calibrated and/or profiled monitor is a prerequisite for a color-managed workflow. This manual does not cover the important topics of how to calibrate and profile a monitor. The `Argyll <http://www.argyllcms.com/>`_ documentations are very good and highly recommended reading. To use either of this software to calibrate and/or profile your monitor, you will need a spectrophotometer. A spectrophotometer (sometimes called a *spider*) is a device for measuring the RGB values of color patches projected onto the monitor screen by calibration/profiling software such as Argyll. The Argyll website maintains an up-to-date list of supported spectrophotometers.
0076 
0077 Calibrating your Monitor
0078 ------------------------
0079 
0080 There are various methods given on the Internet for calibrating a monitor without using a spectrophotometer. These *eye-ball* methods are better than not calibrating your monitor at all, and depending your eyeball and your monitor, can produce quite usable results. But the eye-ball methods are not a substitute for a properly calibrated and profiled monitor. For the record, calibrating and profiling a monitor with a spectrophotometer, though intimidating at first, is not difficult. Spectrophotometers can be obtained for well under 100€ (if you opt for a more expensive model, make sure you are paying for a better piece of hardware, rather than just a more fully-featured accompanying bit of manufacturer's software that won't run under Linux).
0081 
0082 `Argyll <http://www.argyllcms.com/>`_ documentation will guide you through the process of calibrating and profiling your monitor, without your having to learn very much color management theory. And if/when you learn enough about color management to realize that you want or need a more detailed monitor profile of a particular type, for a particular purpose, these two software have all the advanced capabilities you could possibly hope for.
0083 
0084 Assuming you've decided to work exclusively in the sRGB color space, what *digiKam buttons* must be used after a monitor calibration? If your monitor has been calibrated to the sRGB standard and you work exclusively in the sRGB color space, then you can disable color management in digiKam. You don't need to tell digiKam what monitor profile to use because digiKam defaults to using the sRGB color space as the monitor color space profile. And you don't need to tell digiKam to use a color-managed workflow because digiKam defaults to using sRGB for your camera, printer, and working space.
0085 
0086 .. figure:: images/cm_monitor_profile_setting.webp
0087     :alt:
0088     :align: center
0089 
0090     The digiKam Monitor Profile Settings from Color Management Setup Page
0091 
0092 But if you want to take the first steps toward a color-managed workflow, then refer to corresponding page of Settings, enable color management, and select sRGB as your **monitor profile**, your **camera profile**, your **working space** profile, and your **printer profile**. If you've also used `Argyll <http://www.argyllcms.com/>`_ to produce a monitor profile after you calibrated your monitor named :file:`mymonitorprofile.icc`, then tell digiKam to use it instead of sRGB as your monitor profile.
0093 
0094 Monitor Profiles Storage
0095 ------------------------
0096 
0097 On **Windows**, the default search paths include:
0098 
0099     - :file:`C:\\Windows\\System32\\spool\\drivers\\color\\`
0100     - :file:`C:\\Windows\\Spool\\Drivers\\Color\\`
0101     - :file:`C:\\Windows\\Color\\`
0102 
0103 On **macOS**, the default search paths include:
0104 
0105     - :file:`/System/Library/ColorSync/Profiles/`
0106     - :file:`/Library/ColorSync/Profiles/`
0107     - :file:`~/Library/ColorSync/Profiles/`
0108     - :file:`/opt/local/share/color/icc/`
0109     - :file:`/Applications/digiKam.org/digikam.app/Contents/Resources/digikam/profiles/`
0110     - :file:`~/.local/share/color/icc/`
0111     - :file:`~/.local/share/icc/`
0112     - :file:`~/.color/icc/`
0113 
0114 On **Linux**, the default search paths include:
0115 
0116     - :file:`/usr/share/color/icc/`
0117     - :file:`/usr/local/share/color/icc/`
0118     - :file:`~/.local/share/color/icc/`
0119     - :file:`~/.local/share/icc/`
0120     - :file:`~/.color/icc/`
0121 
0122 Under Linux and macOS, your personal ICC profiles are generally located in the :file:`~/local/share/color/icc` folder from your home directory.
0123 
0124 .. figure:: images/cm_profile_repositories.webp
0125     :alt:
0126     :align: center
0127 
0128     digiKam Allows to Setup Customized Places Where you can Store your Personal Color Profile
0129 
0130 Ambient Light and Monitor
0131 -------------------------
0132 
0133 Does the lighting and wall/ceiling/drape/furniture colors near my monitor matter? Good lighting is a prerequisite for proper image editing and for comparing prints to the image on your screen. If the lighting near your workstation is too bright, colors on your monitor look too dark, and conversely. If the light from the fixtures in your workroom have a low CRI (**color rendering index**, meaning you don't have full spectrum bulbs), or if the light in your workroom comes from a window and so varies as the weather and time of day varies (or worse, is filtered through colored drapery), or if the walls and ceiling are creating color casts on your monitor, then your editing process will *correct* color casts that don't really exist.
0134 
0135 Best advice, as far as is consistent with maintaining harmony in the family: neutral grey walls and ceiling, cover the windows, wear neutral clothing, set appropriate light levels using appropriate bulbs and fixtures.