Color Management: Difference between revisions

From KDE UserBase Wiki
(add another faq)
(fix link to XCM specification)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Introduction==
<languages/>


This guide describes how to use the [http://www.oyranos.org Oyranos Color Management System] with KDE for obtaining color correction with [[KWin]], using the methods of [http://www.freedesktop.org/wiki/OpenIcc OpenICC].
<translate>
==Introduction== <!--T:1-->


===What is color management?===
<!--T:2-->
This guide describes how to use the [http://www.oyranos.org Oyranos Color Management System] with KDE for obtaining color correction with [[Special:myLanguage/KWin|KWin]], using the methods of [http://www.freedesktop.org/wiki/OpenIcc OpenICC].
 
===What is color management?=== <!--T:3-->
 
<!--T:4-->
[http://en.wikipedia.org/wiki/Color_management Color Management on Wikipedia]
[http://en.wikipedia.org/wiki/Color_management Color Management on Wikipedia]


<!--T:5-->
In digital imaging systems, '''color management''' is the controlled conversion between the color representations of various devices, such as image scanners, digital cameras, monitors, TV screens, film printers, computer printers, offset presses, and corresponding media.
In digital imaging systems, '''color management''' is the controlled conversion between the color representations of various devices, such as image scanners, digital cameras, monitors, TV screens, film printers, computer printers, offset presses, and corresponding media.


<!--T:6-->
The primary goal of color management is to obtain a good match across color devices; for example, the colors of one frame of a video should appear the same on a computer LCD monitor, on a plasma TV screen, and as a printed poster. Color management helps to achieve the same appearance on all of these devices, provided the devices are capable of delivering the needed color intensities.
The primary goal of color management is to obtain a good match across color devices; for example, the colors of one frame of a video should appear the same on a computer LCD monitor, on a plasma TV screen, and as a printed poster. Color management helps to achieve the same appearance on all of these devices, provided the devices are capable of delivering the needed color intensities.


<!--T:7-->
Parts of this technology are implemented in the operating system (OS), helper libraries, the application, and devices. A cross-platform view of color management is the use of an ICC-compatible color management system.
Parts of this technology are implemented in the operating system (OS), helper libraries, the application, and devices. A cross-platform view of color management is the use of an ICC-compatible color management system.


<!--T:8-->
The most important software part is the color management system (CMS). Besides the CMS, in order to get a proper color-corrected workspace, applications that are aware of color management are also needed.
The most important software part is the color management system (CMS). Besides the CMS, in order to get a proper color-corrected workspace, applications that are aware of color management are also needed.


==Requirements==
==Requirements== <!--T:9-->
 
<!--T:10-->
To obtain a working color-managed workspace, you will need to install the following (recommended to install using packages provided by your distribution):
To obtain a working color-managed workspace, you will need to install the following (recommended to install using packages provided by your distribution):
<!--T:11-->
* [http://www.oyranos.org/downloads/ Oyranos Color Management System]
* [http://www.oyranos.org/downloads/ Oyranos Color Management System]
<!--T:12-->
* [http://www.oyranos.org/kolormanager/ Kolor-Manager]
* [http://www.oyranos.org/kolormanager/ Kolor-Manager]
<!--T:13-->
* Oyranos and Kolor-Manager dependencies (if you use the packages provided by your distribution, they should be installed automatically)
* Oyranos and Kolor-Manager dependencies (if you use the packages provided by your distribution, they should be installed automatically)
** [http://www.oyranos.org/libxcm/ libxcm and xcm] - git://www.oyranos.org/git/xcolor and git://www.oyranos.org/git/xcm
** [http://www.oyranos.org/libxcm/ libxcm and xcm]
** [http://xcalib.sourceforge.net xcalib]
** [http://xcalib.sourceforge.net xcalib]
** [http://www.littlecms.com/ LittleCMS]
** [http://www.littlecms.com/ LittleCMS]
Line 27: Line 45:
** [http://sourceforge.net/projects/openicc/files/OpenICC-Profiles/ icc-profiles-openicc]
** [http://sourceforge.net/projects/openicc/files/OpenICC-Profiles/ icc-profiles-openicc]
** [http://sourceforge.net/projects/elektra/ elektra]
** [http://sourceforge.net/projects/elektra/ elektra]
* [[KWin]] with <strong>compositing enabled</strong>. [[KWin]] is part of KDE, more specifically kde-workspace.


==How to enable color correction in KDE==
<!--T:14-->
* [[Special:myLanguage/KWin|KWin]] with ''compositing enabled''. [[Special:myLanguage/KWin|KWin]] is part of KDE, more specifically kde-workspace.
 
==How to enable color correction in KDE== <!--T:15-->
 
<!--T:16-->
Go to <menuchoice>System Settings</menuchoice>, select <menuchoice>Desktop Effects</menuchoice>, go to the <menuchoice>Advanced</menuchoice> tab, and check <menuchoice>Enable color correction</menuchoice>. Do not forget to click <menuchoice>Apply</menuchoice>. That is all!
Go to <menuchoice>System Settings</menuchoice>, select <menuchoice>Desktop Effects</menuchoice>, go to the <menuchoice>Advanced</menuchoice> tab, and check <menuchoice>Enable color correction</menuchoice>. Do not forget to click <menuchoice>Apply</menuchoice>. That is all!


<!--T:17-->
[[File:Kde_cc_enable1.png]]
[[File:Kde_cc_enable1.png]]


<!--T:18-->
If Kolor-Manager is not installed, nothing should happen. If something goes wrong, nothing should happen. If it is working, you might notice a change in the displayed colors. You need to have correct ICC profiles installed for your monitor(s) in order to notice changes in the way colors are displayed.
If Kolor-Manager is not installed, nothing should happen. If something goes wrong, nothing should happen. If it is working, you might notice a change in the displayed colors. You need to have correct ICC profiles installed for your monitor(s) in order to notice changes in the way colors are displayed.


==How to check whether color management is functioning==
==How to check whether color management is functioning== <!--T:19-->
You need <strong>qcmsevents</strong> which can be found in packages named "oyranos-qcmsevents" or similar. If you compile from sources, this program is found inside the oyranos example programs. To launch it, go to <menuchoice> All Applications > System > Desktop Applet > QCmsEvents </menuchoice>. Alternatively, type "qcmsevents" in [[Plasma/Krunner]] (<keycap>Alt+F2</keycap>) or in a terminal, and press <keycap>Enter</keycap>. This program will place an icon in the system tray, which can be clicked to show a window showing color management events.
 
<!--T:20-->
You need <tt>qcmsevents</tt> which can be found in packages named "oyranos-qcmsevents" or similar. If you compile from sources, this program is found inside the oyranos example programs. To launch it, go to <menuchoice> All Applications -> System -> Desktop Applet -> QCmsEvents </menuchoice>. Alternatively, type "qcmsevents" in [[Special:myLanguage/Plasma/Krunner|KRunner]] (<keycap>Alt+F2</keycap>) or in a terminal, and press <keycap>Enter</keycap>. This program will place an icon in the system tray, which can be clicked to show a window showing color management events.


<!--T:21-->
[[File:Qcmsevents-applet.png]]
[[File:Qcmsevents-applet.png]]
<!--T:22-->
The icon of qcmsevents should be colored. If the [http://en.wikipedia.org/wiki/CIE_1931_color_space#The_CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space CIE horseshoe] icon is still gray after 30 seconds from when it appeared, then the color correction is disabled or not working.
The icon of qcmsevents should be colored. If the [http://en.wikipedia.org/wiki/CIE_1931_color_space#The_CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space CIE horseshoe] icon is still gray after 30 seconds from when it appeared, then the color correction is disabled or not working.


==How does it work?==
<!--T:23-->
Kolor-Manager contains <strong>Kolor-Server</strong>, which interacts with <strong>Oyranos</strong> to obtain something like a lookup table used to translate colors from the normal (sRGB) color space to colors suitable for the monitor(s). This is transferred to [[KWin]] via [http://www.freedesktop.org/wiki/Software/dbus D-Bus], which then draws everything with corrected colors.
You can also use '''oyranos-monitor''' to configure a weird color profile for the monitor to check if color management is functioning. '''oyranos-monitor''' is a command-line program, so either use [[Special:myLanguage/Plasma/Krunner|KRunner]] or a terminal.


<!--T:24-->
{{Input|oyranos-monitor -d 0 Lab.icc}}
<!--T:25-->
To set the monitor profile back, use the commands from below. Optionally, you can specify on the second command line a specific profile for your monitor, if available.
<!--T:26-->
{{Input|oyranos-monitor -d 0 -e}}
<!--T:44-->
{{Input|oyranos-monitor -d 0 [my_specific_monitor.icc]}}
==How does it work?== <!--T:27-->
<!--T:28-->
Kolor-Manager contains '''Kolor-Server''', which interacts with '''Oyranos''' to obtain something like a 3D lookup table used to translate colors from the normal (sRGB) color space to colors suitable for the monitor(s). This is transferred to [[Special:myLanguage/KWin|KWin]] via [[Special:myLanguage/Glossary#D-Bus|D-Bus]], which then draws everything with corrected colors.
<!--T:29-->
An important thing to note is that the color correction is done on the GPU, so the amount of hardware resources used is minimal.
An important thing to note is that the color correction is done on the GPU, so the amount of hardware resources used is minimal.


Kolor-Server conforms to the [http://www.oyranos.org/scm?p=xcolor.git;a=blob;f=docs/X_Color_Management.txt X Color Management Specification]. Currently the implementation is incomplete.
<!--T:30-->
Kolor-Server conforms to the [https://github.com/oyranos-cms/libxcm/blob/master/docs/X_Color_Management.md X Color Management Specification]. Currently the implementation is incomplete.


<!--T:31-->
[[File:Kde_cc_flowdiagram1.png]]
[[File:Kde_cc_flowdiagram1.png]]


==Frequently Asked Questions==
==Frequently Asked Questions== <!--T:32-->
===Why aren't there more features?===
 
===Why aren't there more features?=== <!--T:33-->
 
<!--T:34-->
Because they have not yet been implemented. Currently, only per-output color correction is implemented. The next priority is per-region color correction, which we hope will be implemented for 4.11.
Because they have not yet been implemented. Currently, only per-output color correction is implemented. The next priority is per-region color correction, which we hope will be implemented for 4.11.


===Why is it an experimental feature?===
===Why is it an experimental feature?=== <!--T:35-->
 
<!--T:36-->
Because there are still many things that are not properly tested and could go wrong. One of the issues is that many monitors do not have associated ICC profiles and color correction has no effect (dummy profiles are used for them).
Because there are still many things that are not properly tested and could go wrong. One of the issues is that many monitors do not have associated ICC profiles and color correction has no effect (dummy profiles are used for them).


===What to do if the screen goes blank?===
===What to do if the screen goes blank?=== <!--T:37-->
This should not happen, but you never know. If it happens, disable KWin compositing temporarily using <keycap>Alt+Shift+F12</keycap>, disable color correction, and reenable compositing.


===When should we expect complete color management for KDE?===
<!--T:38-->
If we are talking about color management in Qt, not anytime soon. If we are talking about decent color management implemented in the compositor (KWin), sooner than not anytime soon. It also depends on how quickly the graphics applications adapt to these new color management things.
This should not happen, but you never know. If it happens, disable '''KWin''' compositing temporarily using <keycap>Alt+Shift+F12</keycap>, disable color correction, and re-enable compositing.


===Why does nothing happen if something goes wrong?===
===When should we expect complete color management for KDE?=== <!--T:39-->
 
<!--T:40-->
If we are talking about color management in Qt, not anytime soon. If we are talking about decent color management implemented in the compositor ('''KWin'''), sooner than not anytime soon. It also depends on how quickly the graphics applications adapt to these new color management things.
 
===Why does nothing happen if something goes wrong?=== <!--T:41-->
 
<!--T:42-->
Because we had not enough time to implement notifications. This will change in the near future.
Because we had not enough time to implement notifications. This will change in the near future.
<!--T:43-->
[[Category:Desktop]]
[[Category:System]]
[[Category:Graphics]]
[[Category:Configuration]]
</translate>

Latest revision as of 16:30, 30 November 2016

Other languages:

Introduction

This guide describes how to use the Oyranos Color Management System with KDE for obtaining color correction with KWin, using the methods of OpenICC.

What is color management?

Color Management on Wikipedia

In digital imaging systems, color management is the controlled conversion between the color representations of various devices, such as image scanners, digital cameras, monitors, TV screens, film printers, computer printers, offset presses, and corresponding media.

The primary goal of color management is to obtain a good match across color devices; for example, the colors of one frame of a video should appear the same on a computer LCD monitor, on a plasma TV screen, and as a printed poster. Color management helps to achieve the same appearance on all of these devices, provided the devices are capable of delivering the needed color intensities.

Parts of this technology are implemented in the operating system (OS), helper libraries, the application, and devices. A cross-platform view of color management is the use of an ICC-compatible color management system.

The most important software part is the color management system (CMS). Besides the CMS, in order to get a proper color-corrected workspace, applications that are aware of color management are also needed.

Requirements

To obtain a working color-managed workspace, you will need to install the following (recommended to install using packages provided by your distribution):

  • KWin with compositing enabled. KWin is part of KDE, more specifically kde-workspace.

How to enable color correction in KDE

Go to System Settings, select Desktop Effects, go to the Advanced tab, and check Enable color correction. Do not forget to click Apply. That is all!

If Kolor-Manager is not installed, nothing should happen. If something goes wrong, nothing should happen. If it is working, you might notice a change in the displayed colors. You need to have correct ICC profiles installed for your monitor(s) in order to notice changes in the way colors are displayed.

How to check whether color management is functioning

You need qcmsevents which can be found in packages named "oyranos-qcmsevents" or similar. If you compile from sources, this program is found inside the oyranos example programs. To launch it, go to All Applications -> System -> Desktop Applet -> QCmsEvents . Alternatively, type "qcmsevents" in KRunner (Alt+F2) or in a terminal, and press Enter. This program will place an icon in the system tray, which can be clicked to show a window showing color management events.

The icon of qcmsevents should be colored. If the CIE horseshoe icon is still gray after 30 seconds from when it appeared, then the color correction is disabled or not working.

You can also use oyranos-monitor to configure a weird color profile for the monitor to check if color management is functioning. oyranos-monitor is a command-line program, so either use KRunner or a terminal.

oyranos-monitor -d 0 Lab.icc

To set the monitor profile back, use the commands from below. Optionally, you can specify on the second command line a specific profile for your monitor, if available.

oyranos-monitor -d 0 -e
oyranos-monitor -d 0 [my_specific_monitor.icc]

How does it work?

Kolor-Manager contains Kolor-Server, which interacts with Oyranos to obtain something like a 3D lookup table used to translate colors from the normal (sRGB) color space to colors suitable for the monitor(s). This is transferred to KWin via D-Bus, which then draws everything with corrected colors.

An important thing to note is that the color correction is done on the GPU, so the amount of hardware resources used is minimal.

Kolor-Server conforms to the X Color Management Specification. Currently the implementation is incomplete.

Frequently Asked Questions

Why aren't there more features?

Because they have not yet been implemented. Currently, only per-output color correction is implemented. The next priority is per-region color correction, which we hope will be implemented for 4.11.

Why is it an experimental feature?

Because there are still many things that are not properly tested and could go wrong. One of the issues is that many monitors do not have associated ICC profiles and color correction has no effect (dummy profiles are used for them).

What to do if the screen goes blank?

This should not happen, but you never know. If it happens, disable KWin compositing temporarily using Alt+Shift+F12, disable color correction, and re-enable compositing.

When should we expect complete color management for KDE?

If we are talking about color management in Qt, not anytime soon. If we are talking about decent color management implemented in the compositor (KWin), sooner than not anytime soon. It also depends on how quickly the graphics applications adapt to these new color management things.

Why does nothing happen if something goes wrong?

Because we had not enough time to implement notifications. This will change in the near future.