# Photographic Editing - Workflow

## Image Editing/Workflow Tools

### A Standard Workflow Proposal

When performing a basic workflow, the primary areas for consideration are:

1. Exposure: White Balance

2. Color: White Balance

3. Black and white points: White Balance or Adjust Levels

4. Contrast: Adjust Curves

5. Saturation: White Balance or Vivid or Hue/Saturation/Lightness

6. Resizing (interpolation) : Change Size

7. Sharpening

8. Digital Asset Management (applying tags, captions, rating, geolocation, save under new name)

We recommend this sequence of image editing steps to ensure optimum photographic quality for the end product. In particular, never do sharpening before the last step. And we recommend using a lossless format like PNG or TIFF for storing photographs. Otherwise you'll lose a bit every time you save the results. If you can afford it, use 16 bit/channel for your best shots. If you want to change color space, in particular if you want to work in CIEL*a*b, 16 bit per channel are required to avoid truncation effects.

If you swap step 4 and 5, which is well possible if the initial contrast is already very good, you can do the first 4 adjustment in the same plugin, the white balance

Many of the tools you may need for photographic editing are included with &digikam;. Their description follows here.

### Introduction to common editing tools features

All Image Editor tools like Sharpen, Blur, Noise Reduction, Refocus, Unsharp Mask, &etc;. use a common dialog style that previews the effect before applying the filter to the current image. Below you see the "Apply Texture" tool in action using this common dialog layout:

#### The Apply Texture Tool in Action

The Apply Texture Tool in Action

- (1): The seven buttons to the top left select the comparison style of the preview area. The modes are:

  - Original image

  - Split vertically without duplication. The left area shows the original whereas the right side shows the filter applied to the continuation of the selected zoom.

  - Split horizontally without duplication. The top area shows the original whereas the lower area shows the filter applied to the continuation of the selected zoom.

  - Split vertically. The left area shows the original and the right one the filter effect for comparison.

  - Split horizontally. The top area shows the original and the lower one the filter effect for comparison.

  - Effect preview. This is a live effect preview without comparison.

  - 'Mouse over' style: preview when mouse is off the preview (in the settings area), otherwise shows original.

- (2): There are two buttons that can be toggled to show over or underexposure. The colors can be customized in the general setup page.

- (3): The preview selector frame. Click and drag with the mouse on the floating frame to move it on the image. The preview area on the left of dialog is updated accordingly.

- (4): The filter or plugin settings area.

- (5): At the lower left corner: there is help and a reset to defaults button (all settings are remembered from the last use of the plugin).

- (6): There is a progress indicator for plugins with involved calculations.

### The &digikam; tool set

- Image Color

  - Auto Correction

  - Brightness/Contrast/Gamma

  - Hue/Saturation/Lightness

  - Color Balance

  - Black and White

  - Encoding Depth

  - Color Management

  - Levels Adjust

  - Color Effects (Solarize, Vivid, Neon, Edge)

  - White Balance/Exposure/Saturation

  - Curves Adjust

  - Channel Mixer

- Image Enhancement

  - Sharpening (sharpen, unsharp mask, refocus)

  - Blur Tool

  - Red Eye Removal

  - Photograph Inpainting

  - Noise Reduction & blurring

  - Hot Pixel Correction

  - Lens Distortion Correction

  - Photograph Restoration

  - Anti-Vignetting Correction

- Image Transformation Tools

  - Change Size (reduce and blow-up)

  - Free Rotation

  - Perspective Adjustment

  - Shearing Tool

- Image Decoration

  - Add Border

  - Insert Text

  - Template Superimpose

  - Apply Texture

- Special Effect Filters

  - Simulate Infrared Film.

  - Add Film Grain.

  - Simulate Oil Painting

  - Simulate Charcoal Drawing.

  - Emboss Photograph.

  - Distortion FX.

  - Blur FX.

  - Add Rain Drops

## Processing RAW image files, RAW work-flow

A typical RAW workflow with &digikam; may follow these steps:

- Setting up the RAW conversion and color management preferences

  - get the ICC color profiles for the camera, display and printer

  - setup &digikam; correctly defining a color work space

- Camera whitepoint setting

- Demosaicing (includes interpolation, noise filtering and chromatic abberation correction.

- Conversion to a color space

- Gamma correction, tone mapping

- Color profile assignment

- Dynamic range expansion (optional)

- Continue with standard workflow

From there everything is simple, select a RAW image and open it in the editor. The color management widget will be displayed after the image has been processed in order to adjust color rendering. Without color management all images are very dark, this is normal. You can experiment the various profiles you have in order to select the best input profile according to your image (some tends to be very neutral, even a bit dull, some gives more saturated results, &etc;).

&doc-editor-color;

&doc-editor-enhance;

&doc-editor-transform;

&doc-editor-decorate;

&doc-editor-filters;

# ICC color profile management

What is the importance of ICC color profile management anyway? In simple terms it is alike hi-fi stereo, where high fidelity is maximized from source to speakers, passing through microphone, recoding media, player and amplifier. Much the same, ICC color profile management tries to maintain color fidelity from photographic subject through the camera to the output media screen, print, paper and beamer. Luckily digital photography has taken out one source of distortion, the storage media (as the &CD-ROM; did in the audio field).

The figure below images the problem: Every time there is a transfer from one device to another, an ICC profile is used to compensate for the inaccuracies or limitations of the device. The central work space (which is called Profile Connection Space, PCS) provides a common platform to translate the device color spaces into each other.

The inter-connection between devices and their color spaces

CM Pros. CM is really important whenever you need identical results between shooting sessions, accurate source reproduction, close rendering results between various display media (this would rather point CM to professionals).

As a passionate amateur you can also profit from CM, since it is mostly associated with 16 bit color depth. RAW mode shooting is much more forgiving in terms of exposure than processed shooting (JPEG), so you can generally underexpose and recover the highlights. And, the human eye is much more sensitive to luminosity variations in the dark scales than a digital camera. Careful tonal adjustment close to the blacks will produce a better dynamic of the image. That is why RAW mode images often have an appearance of more depth to them.

CM Cons. If you do not use color management you still can realize fantastic images. In journalism or emotional contexts, for holiday photos you do not need any color management.

To configure &digikam; for ICC color management, please refer to the setup section.

The ICC standard covers a data format to exchange color information of devices. ISO 22028-1 specifies unambiguous exchange of color image data of color space encoding, viewing conditions, image state and reference medium. Here follows an example of the differences in color language: one kind of green defined (by the same numbers) in one color space looks different in another color space. This is what happens when no color management is applied.

(88, 249, 16) in Adobe RGB The same RGB value in sRGB. Here is a link where you can play with color spaces.

Photographers want to use the full gamut of their camera and their ink jet printers. Editing of images should be done in a work space, where equal RGB-numbers result into gray (like #333 or #CCC).

The following diagram tries to outline the logic &digikam; will follow in its CM work flow, depending on the settings made in IO Files and ICC profiles of the configuration page.

## Soft Proofing

Soft Proofing is a way of previewing on the screen (monitor) the result to be expected from an output on another device, typically a printer. Soft proofing will show you the difference to be expected before you actually do it (and waste your costly ink). So you can improve your settings without wasting time and money.

## Rendering intention

Rendering intent refers to the way gamuts are handled when the intended target color space cannot handle the full gamut.

- Perceptual, also called Image or Maintain Full Gamut. This is generally recommended for photographic images. The color gamut is expanded or compressed when moving between color spaces to maintain consistent overall appearance. Low saturation colors are changed very little. More saturated colors within the gamuts of both spaces may be altered to differentiate them from saturated colors outside the smaller gamut space. Perceptual rendering applies the same gamut compression to all images, even when the image contains no significant out-of-gamut colors.

- Relative Colorimetric, also called Proof or Preserve Identical Color and White Point. Reproduces in-gamut colors exactly and clips out-of-gamut colors to the nearest reproducible hue.

- Absolute Colorimetric, also called Match or Preserve Identical Colors. Reproduces in-gamut colors exactly and clips out-of-gamut colors to the nearest reproducible hue, sacrificing saturation and possibly lightness. On tinted papers, whites may be darkened to keep the hue identical to the original. For example, cyan may be added to the white of a cream-colored paper, effectively darkening the image. Rarely of interest to photographers.

- Saturation, also called Graphic or Preserve Saturation. Maps the saturated primary colors in the source to saturated primary colors in the destination, neglecting differences in hue, saturation, or lightness. For block graphics; rarely of interest to photographers.

## Links

Color wiki CIELab Gamut explained