Color Management: Difference between revisions

From KDE UserBase Wiki
m (add translation tags)
(Marked this version for translation)
Line 2: Line 2:


<translate>
<translate>
==Introduction==
==Introduction== <!--T:1-->


<!--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].
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?===
===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] - git://www.oyranos.org/git/xcolor and git://www.oyranos.org/git/xcm
Line 36: Line 46:
** [http://sourceforge.net/projects/elektra/ elektra]
** [http://sourceforge.net/projects/elektra/ elektra]


<!--T:14-->
* [[Special:myLanguage/KWin|KWin]] with ''compositing enabled''. [[Special:myLanguage/KWin|KWin]] is part of KDE, more specifically kde-workspace.
* [[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==
==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-->


<!--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.
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.


<!--T:23-->
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.
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}}
{{Input|oyranos-monitor -d 0 Lab.icc}}


<!--T:25-->
To set the default profile back, use the following command and login again.
To set the default profile back, use the following command and login again.


<!--T:26-->
{{Input|oyranos-monitor -d 0 sRGB.icc}}
{{Input|oyranos-monitor -d 0 sRGB.icc}}


==How does it work?==
==How does it work?== <!--T:27-->


<!--T:28-->
Kolor-Manager contains '''Kolor-Server''', which interacts with '''Oyranos''' 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 [[Special:myLanguage/KWin|KWin]] via [[Special:myLanguage/Glossary#D-Bus|D-Bus]], which then draws everything with corrected colors.
Kolor-Manager contains '''Kolor-Server''', which interacts with '''Oyranos''' 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 [[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.


<!--T:30-->
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.
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: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-->


<!--T:38-->
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.
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.


===When should we expect complete color management for KDE?===
===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.
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?===
===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:Desktop]]
[[Category:System]]
[[Category:System]]

Revision as of 09:25, 11 November 2012

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 default profile back, use the following command and login again.

oyranos-monitor -d 0 sRGB.icc

How does it work?

Kolor-Manager contains Kolor-Server, which interacts with Oyranos 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 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.