Kapitel 10. Färghantering med GIMP

Innehållsförteckning

1. Färghantering i GIMP
1.1. Problem med arbetsflöden utan färghantering
1.2. Introduktion till Färghanterat arbetsflöde

1. Färghantering i GIMP

Many devices you use in your design or photography workflow, like digital photo cameras, scanners, displays, printers etc., have their own color reproduction characteristics. If those are not taken into account during opening, editing and saving, harmful adjustments can be done to images. With GIMP you can have reliable output for both Web and print.

Figur 10.1. Arbetsflöde i bildbearbetning

Arbetsflöde i bildbearbetning

Arbetsflöde utan färghantering

Arbetsflöde i bildbearbetning

Process med färghantering


1.1. Problem med arbetsflöden utan färghantering

Grundproblemet med bildbehandling utan färghantering är helt enkelt att du inte ser vad du kan göra. Det påverkar två skilda områden:

  1. Det finns skillnader i färg orsakat av skillnader i färgkarakterisktik på olika enheter som kameror, skannrar, skärmar och skrivare.

  2. Det finns skillnader i färg orsakat av begränsningar i det färgutrymme en specifik enhet kan hantera.

The main purpose of color management is to avoid such problems. The approach taken to do so involves the addition of a description of the color characteristic to an image or devices.

These descriptions are called color profile. A color profile is basically a look-up table to translate the specific color characteristic of a device to a device-independent color space - the so called working-space. All the image manipulation is then done to images in the working-space. In addition to that the color profile of a device can be used to simulate how colors would look on that device.

Skapandet av färgprofil görs för det mesta av tillverkaren av enheten. För göra dessa profiler oberoende av plattformar och operativsystem, har ICC (International Color Consortium) skapat en standard som heter ICC-profil som beskriver hur färgprofiler lagras till filer och inbäddas i bilder.

1.2. Introduktion till Färghanterat arbetsflöde

[Tips] Tips

Most of the parameters and profiles described here can be set in the GIMP preferences. Please see Avsnitt 1.14, ”Färghantering” for details.

1.2.1. Inmatning

Det flesta digitalkameror bäddar in en färgprofil till en individuell fotofil utan att tillfråga användaren. Digitila skannrar har oftast en färgprofil som de också ansluter till skannade bilder.

Figur 10.2. Tillämpa ICC-profilen

Tillämpa ICC-profilen

When opening an image with an embedded color profile, GIMP offers to convert the file to the RGB working color space. This is sRGB by default and it is recommended that all work is done in that color space. Should you however decide to keep the embedded color profile, the image will however still be displayed correctly.

Om det av nån orsak en färgprofil inte är inbäddad i bilden och du vet ( eller har liten aning) vad det borde vara, kan du tilldela den manuellt till den bilden.

1.2.2. Skärm

For the best results, you need a color profile for your monitor. If a monitor profile is configured, either system-wide or in the Color Management section of the GIMP Preferences dialog, the image colors will be displayed most accurately.

One of the most important GIMP commands to work with color management is described in Avsnitt 5.8, ”Visningsfilter”.

Om du inte har en färgprofil för din bildskärm, kan du skapa den genom att använda hårdvarukalibrering och mätverktyg. På UNIX-system behöver du Argyll Color Management System[ARGYLLCMS] och/eller LProf[LPROF]

1.2.2.1. Skärmkalibrering och profilering

För skärmar är det två steg som gäller. Det ena kallas kalibrering och det andra är profilering. För kalibrering gäller också två steg. Det första inbegriper justera externa bildskärmskontroller som kontrast, ljusstyrka, färgtemperatur, mm, och de har stark bindning till den specifika bildskärmen. Förutom det finns det ytterligare bildskärmsprofiler som finns nedladdat i grafikkortets minne för att få bildskärmen i så nära standardskick som möjligt. Denna information finns lagrat i bildskärmsprofilen den så kallade vgct-taggen. Förmodligen laddar operativsystemet denna information (LUT) in grafikkortet när man startar upp dator under Windows XP eller Mac OS. I Linux, ska du i skrivande stund använda ett externt program som xcalib eller dispwin. ( Om man bara gör en enkel visuell kalibrering genom att använda en webbsajt som Norman Koren, skall endast använda xgamma för att ladda in ett gammavärde.)

The second step, profiling, derives a set of rules which allow GIMP to translate RGB values in the image file into appropriate colors on the screen. This is also stored in the monitor profile. It doesn't change the RGB values in the image, but it does change which values are sent to the video card (which already contains the vgct LUT).

1.2.3. Utskriftssimulation

Using GIMP, you can easily get a preview of what your image will look like on paper. Given a color profile for your printer, the display can be switched into Soft Proof mode. In such a simulated printout, colors that cannot be reproduced will optionally be marked with neutral gray color, allowing you to correct such mistakes before sending your images to the printer.