# The &digikam; Handbook

Gilles
Caulier

    caulier_dot_gilles_at_gmail_dot_com

Gerhard
Kulzer

    gerhard at kulzer dot net

Richard
Taylor

    rjt-digicam_at_thegrindstone_dot_me_dot_uk

Ralf
Hoelzer

    kde_at_ralfhoelzer.com

Joern
Ahrens

    joern.ahrens_at_kdemail_dot_net

Oliver
Doerr

    oliver_at_doerr-privat.de

2001
2008
The &digikam; developers team
&FDLNotice;
2008-01-03
0.9.3

&digikam; logo

&digikam; is a &kde; Photo Management Application with support for Digital Cameras.

KDE
Digital Camera
digiKam
gphoto
Graphics
Color Management
exiv2
dcraw
RAW format

## Introduction

### Background

#### About &digikam;

&digikam; is an advanced digital photo management application for the &kde; desktop. It provides a simple interface which makes importing and organizing digital photographs a "snap". &digikam; enables you to manage large numbers of digital photographs in Albums and to organize these photographs for easy retrieval using tags, captions, collections, dates and searches. It has many features for viewing, organizing, processing and sharing your images.

An easy-to-use Camera interface is provided, that will connect to your digital camera and download photographs directly into &digikam; Albums. More than 900 digital cameras are supported by the gphoto2 library. Of course, any media or card reader supported by your operating system will interface with &digikam;.

&digikam; incorporates a fast Image Editor with many image editing tools. You can use the Image Editor to view your photographs, comment and rate them, correct, enhance and alter them. The editing power can be easily extended by a set of plugins, the Kde Image Plugins Interface (manual)

While &digikam; remains easy to use, it provides professional level features by the dozens. It is fully 16 bit enabled including all available plugins, supports RAW format conversion through David Coffins dcraw and ICC color management work flow.

#### Reporting Bugs

Like the rest of &kde;, &digikam; is an Open Source project. This means that it relies on its users to play their part by, at least, reporting problems and suggesting possible improvements.

&digikam; makes it as easy as possible for you to report bugs or suggest improvements. Wherever you are in the application the Help menu will include a Report Bugs option. This will display a message box with a highlighted link. Click on the link and your web browser will open the page for the reporting system. All the information required will already be filled in, just follow the instructions for completing your report.

#### Support

&digikam; is a community supported project, which means that users and developers support one another. If you become a regular user of &digikam; you are encouraged to join the &digikam; Users Mailing List. You can start off by asking questions of other &digikam; users and hopefully soon you will be answering the support questions of others.

&digikam; Users Mailing List joining instructions.

You can also visit the &digikam; Home Page. for news of new releases and other &digikam; related information.

#### Getting Involved

There are many ways that you can get involved with the continued development of &digikam;. You do not need to be a software developer. You can help with documentation, translation and user interface design or just contribute really good ideas to the wish-list. You can also get involved by testing early development code as it is being developed and providing feedback to the developers. Of course, if you are a software developer then you can help to make &digikam; the best digital photograph application there is.

The best way to start getting involved with &digikam; is to join the Developers Mailing List. &digikam; Developer Mailing List joining instructions.

### Getting Started

####

##### The First Run Dialog

When you start &digikam; for the very first time it will ask you where you store your photographs. You can type in the path name of a folder or click on the folder icon Folder Icon to select a folder from the dialog.

##### The Scan Items Dialog

If you already have a collection of photographs on your hard disk, you can enter the top-level folder containing the photographs, this is called the Albums Library folder. &digikam; will treat each sub-folder of the folder you've entered as an Album. None of the photographs will be altered. During folders parsing you can see a progress dialog like this:

##### The Albums Missing Dialog

This parsing for modifications happens at every application start-up, but it can be disabled in the Settings under Miscellaneous

As &digikam; uses your folders on your hard disk directly, other applications like file managers can remove any albums outside a &digikam; session. In this case &digikam; will tell you at the next session if all albums that have been removed from the &digikam; photographs root path shall be deleted from albums database. If you want to move folders around and do not want to do that in &digikam;, we suggest you do that while &digikam; is running, so the database will be kept in sync and you do not lose any metadata.

The Albums Missing Dialog

When you use an existing folder of photographs, as the Album Library folder, you will notice that the Albums in the Album list do not have photographs as their icons. The first time you view each Album &digikam; will create a thumbnail from the first photograph in the Album and use this as the Album icon. See the Album section for details of how to change the Album icon.

If you have previously accessed your photograph collection with another application, that has created thumbnails in non-standard sub-folders, &digikam; will show these thumbnail folders as separate Albums. &digikam; follows the freedesktop.org standards for thumbnail folders. There is no way of hiding non-standard thumbnail folders from the "Albums" list. If you want to keep them you could create an Album Collection that just contains all the thumbnail Folders and then view your Albums in By Collection order. See the Album section for more about Album Collections.

Once you have configured the Album Library Folder you can set up &digikam; to work with your digital camera. Then learn how to use Albums and Tags to arrange your photograph Albums.

&doc-file-formats;

### Supported Digital Still Cameras

RAW file support: if you are using RAW shooting mode with your camera, &digikam; is probably well able to deal with it. RAW support depends on the Dave Coffin's dcraw program. To find out if your particular camera is supported, bring up the list of supported RAW cameras from the Help RAW camera support menu.

How to setup and work with RAW files is described in RAW Decoder Settings and RAW Workflow.

An easy-to-use Camera interface is provided, that will connect to your digital camera and download photographs directly into &digikam; Albums. More than 900 digital cameras are supported by the gphoto2 library. Of course, any media or card reader supported by your operating system will interface with &digikam;.

Current digital cameras are characterized by the use of Compact &Flash; Memory cards and USB or FireWire (IEEE-1394 or i-link) for data transmission. The actual transfers to a host computer are commonly carried out using the USB Mass Storage device class (so that the camera appears as a disk drive) or using the Picture Transfer Protocol (PTP) and its derivatives. Older cameras may use the Serial Port (RS-232) connection.

Preview Example | Connector Type
--- | ---
| FireWire (IEEE-1394 or i-link) connector from a professional digital still camera
| Universal Serial Bus (USB) connector from a consumer digital still camera
| Serial Port (RS-232) connector from an old digital still camera

Transfers using gPhoto2: PTP and RS-232 Serial Port

&digikam; employs the gPhoto2 program to communicate with digital still cameras. gPhoto2 is a free, redistributable set of digital camera software applications which supports a growing number of over 800 cameras. gPhoto2 has support for the Picture Transfer Protocol, which is a widely supported protocol developed by the International Imaging Industry Association to allow the transfer of images from digital cameras to computers and other peripheral devices without the need of additional device drivers.

Many old digital still cameras used Serial Port to communicate with host computer. Because photographs are big files and serial port transfers are slow, this connection is now obsolete. &digikam; supports these cameras and performs image transfers using the gPhoto2 program. You can find a complete list of supported digital cameras at this url.

Transfers using Mass Storage device

Of the devices that are not directly supported by gPhoto2, there is support for the Mass Storage protocol, which is well supported under &GNU;/&Linux;. This includes many digital cameras and Memory Card Readers. Mass Storage interfaces are:

- USB Mass Storage: a computer interface using communication protocols defined by the USB Implementers Forum that run on the Universal Serial Bus. This standard provides an interface to a variety of storage devices, including digital cameras.

- FireWire Mass Storage: a computer interface using communication protocols developed primarily by Apple Computer in the 1990s. FireWire offers high-speed communications and isochronous real-time data services. Like USB Mass Storage, this standard provides an interface to a variety of storage devices, including digital still cameras. Almost all recent digital cameras support USB version 1 and eventually will support USB version 2; a very few support FireWire.

To use a generic Mass Storage device with &digikam;, select Mounted Camera item in Camera Setup list and set the correct mount point path.

### Supported Plugins

One of the nicest things about &digikam; is how easily its functionality can be extended, by using plugins:

- Kipi Plugins: the Kde Image Plugins Interface project (Kipi) (manual) is an effort to develop a common plugin structure for &digikam;, KPhotoAlbum, Showimg and Gwenview. Its aim is to share image plugins among graphical applications. Kipi-Plugins setup is described in this section.

The &digikam; plugins interface

Plugins can manipulate images in almost any way that users can. Their advantage is, that it is much easier to add a capability to &digikam; by writing a small plugin than by modifying the &digikam; core.

## Using &digikam;

### The Main &digikam; Window

#### Introduction to the Main Window

&digikam;'s main window has four areas. The first one is a sidebar in the left margin that lets you switch between 4 views: Albums, Dates, Tags and Searches. Then there is a tree navigator panel showing the selected view. The main image window is right in the center. And on the right hand side there is another sidebar shown. This one can be used to show all information about your images. You can use all these views to organize and find your photographs.

To unclutter the interface, either toggle the sidebars away with a &LMB;, or use the full screen view mode (F11, Ctrl+Shift+F).

Drag and Drop of images works about everywhere: d&d an image into another branch of the album tree, across the horizontal album separation line, or to another application window. The only restriction is that you cannot d&d into tag, date or searches.

The status bar at the bottom shows in all four views:

- the file name when selecting a single file

- selection information when several items are selected

- progress bar for batch processes, &eg; assigning tags

- Quick filters:

  - search string field: live filter on file names, captions (comments), and tags

  - a file type selector lets you single out the most common ones: JPEG, PNG, TIFF, RAW, movies and audio

  - a rating filter to select images rated with the clicked number of stars

- a thumbnail size slider

- a navigation bar that leads through the images in the main view

The window top shows the menu bar and the main toolbar below.

The Default Main Toolbar

- (1) : Go one view backwards in the main window view history (Alt+Left)

- (2) : Go one view forwards in the main window view history (Alt+Right)

- (3) : Add images, import function (Ctrl+I)

- (4) : Create a new Album (Ctrl+N)

- (5) : Edit Album properties

- (6) : Quick Search tool (Ctrl+F)

- (7) : View image (F3)

- (8) : Open in Image Editor (F4)

- (9) : Rename Image (F2)

- (10) : Toggle Full Screen (Ctrl+Shift+F)

- (11) : Slide Show (F9)

#### "Albums" View

The "Albums" tree provides an organized view of your photograph albums. All photographs that are managed by &digikam; are stored in a single folder branch. The albums can be sorted by their folder layout on the hard disk, by the Collection name that has been set in the Album Properties or by the Date of that Albums (this date can also be changed in the Properties of each Album).

You can switch between these sort orders using Sort Albums from the View menu.

##### Creating a New Album

There are a number of ways to create a new Album. You can create a new Album when you upload new photographs from the Camera using the Camera Tool. You can also create a new empty Album by clicking the View button on the tool bar. As an additional option, you can create a new Album by importing an existing folder of photographs from your computer; just select Album Import Import Folders from the menu bar and select the folder that you want to import. An Album will be created with the same name as the hard disk folder. You can use drag and drop to import a folder. Drag a folder icon, for example from a &konqueror; window. Then drop it on the album list on the left. A menu will appear that gives you the option to move or copy the folder into &digikam;.

##### Deleting an Album

When you delete an Album from &digikam; it will be moved into the &kde; Trash Can. As an option you could change this behavior, so that delete really did remove the Album and all of the photographs in it. This can be changed by selecting Settings Configure &digikam; and selecting the Miscellaneous page. At the top of this page are the settings that control what happens when a photograph is deleted. To delete an Album right-click the Album in the "Albums" tree and select Delete Album from Hard Disk from the context menu.

##### Adding a Photograph to an Album

Most of the time you will create new Albums and populate them with photographs directly from your camera using the Camera Tool. However, sometimes you may want to add a photograph that you already have on your computer to an existing Album. To add a photograph to an Album, make sure that the Album is selected. Then, either click the Add Images icon in the tool bar or select Album Import Add Images from the menu bar. Select the photographs that you want to add from the file dialog and click Open. The photographs will be copied into the Album. Additionally, you can use drag and drop to import photographs. Drag the photographs icons, for example from a &konqueror; window. Than drop it on the image list on the right hand side.

If you have a scanner configured, you can also scan a photograph straight into an Album. Select Album Import Scan Images. You can also take a screenshot and add this directly to an Album. Select Album Import Screenshot.

##### Moving or Copying Photographs Between Albums

Simply drag the photograph and drop it on the destination Album to move or copy it from one Album to another. A menu will appear that gives you the option to Move or Copy the photograph. You can move or copy multiple photographs the same way, just select all the photographs that you want to move and drag them on to the destination Album.

##### Managing Albums

An Album contains a set of photographs. Album Properties allows you to set information about this set. To access the Album Properties right-click on an Album and select Edit Album Properties from the context menu.

The Album Properties dialog allows you to set:

###### The Album Properties Dialog

- The Album Title : this will be used in the "Albums" list.

- The Album Collection : this is a way of grouping your Albums together by a common label. The Collection you set will be used to order your albums when you select By Collection from the drop down box in the tool bar or using View Sort Albums By Collection. If you want to add and delete Collection labels, use the Collection Settings dialog.

- The Comments for the Album : this will be shown in the banner at the top of the main Image Window.

- The Album Date : this will be used when you order your Albums by date using View Sort Albums By Date.

- Oldest, Average, Newest buttons : these will set the Date to the oldest, average or latest date of the images in that album. It will first try to calculate the average date of the images in the album based on the EXIF-headers. If that fails it will fall back to the modification date of the files in that folder.

##### Setting the Album Icon

When you first view an Album, &digikam; selects the first photograph in the Album as the icon to display in the "Albums" list. This helps you remember what kind of photographs are contained in an Album. Sometimes the first photograph in the Album is not the most representative and you want to select a different one as the Album icon.

To select a different photograph as the Album icon, right-click on the photograph that you want to use as the Album icon and select "Set as Album Thumbnail" from the context menu. Additionally you can use drag and drop to set the Album icon. Drag the photographs icon and drop it on the currently selected Album in the Album list.

An Album can only be in one Album Collection and Album Collections cannot be nested.

&digikam; also supports tagging individual photographs using the "My Tags" area at the left of the main window. Album Collections are different from photograph tagging because the Album Collection applies to all the photographs in an Album rather than to individual photographs. You can use both Album Collections and tagging to organize your photographs.

#### Image View

##### Introduction

The Image Window provides the main view of your images. When you select an Album the images contained in that Album will be displayed in the Image Window. Each image is displayed as a thumbnail. You can alter the size of the thumbnails using the magnifier slider in the lower right of the status bar. The thumbnail size slider

The first time you select an Album you may have to wait briefly while the thumbnails are generated, unless you used the Tools Rebuild all Thumbnails... menu item beforehand.

Information about each photograph is displayed below each thumbnail. You can control what information is displayed from the Settings Configure &digikam; dialog. Select the Albums page and look for the Extra Information in Thumbnail View section.

The thumbnails have Tool Tips which will pop up if you allow the mouse to dwell over a thumbnail for a moment. The Tool Tip shows the most important properties of the photograph including any tags that you have applied. The screenshot at the top of the Introduction to the Main Window section shows a Tool Tip being displayed.

##### Image Management

Photographs are what &digikam; is all about. Albums and Tags allow you to organize and find your photographs in a way that suits you. You can access all of the functions that &digikam; can perform on a photograph by right-clicking the thumbnail (context menu) or by selecting from the Image menu in the menu bar. You have the choice between viewing the images, viewing by slide show, or of editing the images.

##### Viewing an image

There are several possibilities to view an image. You can either click on it, push F3 Image View... or Enter or select View from the context menu. The image will take the whole central space of the main window. For viewing it larger, click the sidebars away (by just clicking on them). While viewing images you can take action from the context menu at any time. To get back to the album view, just click again or press Esc or F3 puts you back into the main window.

##### Editing a Photograph

You can open the Image Editor on a photograph either using F4 Image Edit... or by right-clicking and selecting Edit from the context menu. See the &digikam; Image Editor section for instructions on how to edit your photographs. The Image Editor lets you view your photographs and make a number of adjustments to them.

##### Viewing or Editing a Photograph With Another Application

Sometimes &digikam; may not provide all of the capabilities you need. You can open a photograph in another application by right-clicking on it and selecting from the Open With sub-menu. The list of applications that appear in this menu is controlled by the standard &kde; file associations for the image format type of this photograph. Consult the &kde; manual for instructions on changing these file associations if the application that you need is not listed.

Note that there can be a problem with meta-data embedded in photographs when they are edited by other image manipulation applications. Some applications do not retain the photograph's meta-data when you save a modified image. This means that if you modify a photograph using one of these programs you will lose information such as orientation, aperture &etc;. that are stored in the EXIF and IPCT tags.

##### Lossless Image Rotation

You will need to have the Kipi JPEG Lossless Plugin installed for the rotation features. If you do not have this plugin installed you can still rotate your photographs, but you have use the Image Editor. The Image Editor uses a different method of rotating an image, you may not notice any difference but the Image Editor method can cause some loss of quality in the photograph when saving the picture as JPEG. The rotation methods described here uses the Kipi JPEG Lossless Plugin which preserve the quality in the original photograph.

&digikam; provides two ways to get your photographs the right way up. The simplest method is to right-click the thumbnail and select Rotate and then pick the correct amount of rotation needed.

Many digital cameras now have an orientation sensor. This sensor can detect how you hold the camera while taking a image. It stores this orientation information inside the image. This meta data is stored in an embedded meta-data section called EXIF. The cameras could rotate the image themselves right away, but they have limited processing power, so they leave this job to an application like &digikam;. If the camera is storing the orientation, then &digikam; can use it to automatically rotate your photographs so that they are the correct way up when you display them. &digikam; will rotate the image on disk according to this orientation information.

The photograph is rotated without loss of quality and the orientation information is set to normal, so that other EXIF-aware applications will handle it correctly. To use this feature, right-click on the thumbnail and select Image Auto Rotate/Flip Using EXIF Information . The Camera Tool can perform this operation automatically when it uploads the photographs from your camera which will ensure that your photographs are always the right way up. The rotate operation will do nothing if your camera does not include this information in the photos.

##### Renaming a Photograph

You can change the filename for a photograph by right-clicking a thumbnail and selecting F2 Rename . Remember to keep the file extension (.jpg, .tif, &etc;).

##### Deleting a Photograph

When you delete a photograph from &digikam; it will be moved to the &kde; Trash Can. F8 Image Delete or Delete If you prefer that Delete really removes the photograph completely, than you can do that by &Shift; Delete

#### "Dates" View from Main Window

Dates View from Main Window

The "Dates" view organizes your photographs based on their dates. &digikam; uses either the EXIF date or, if no EXIF date is available, the last modification time of the file.

When you select a month from the list, all images from that month are displayed in the Image View. You can select days or weeks in the date sheet at the bottom of the Date View to show only the images from the selected dates.

#### "Tags" View

(Hierarchical) tagging provides a flexible and powerful way to organize and catalog your images. Tags are labels that can be applied to individual images or whole groups. Once a tag has been set to an image it can be found again by selecting the tag or doing a search.

##### Selecting a tag and applying a new one

When a tag is selected, all of the images that are marked with that tag are displayed.

Tags can be arranged in a hierarchical tree. This allows you to organize your tags in a logical manner. One can collapse parts of the tree in the "Tags" list so that one can easily find the tags that you are looking for.

Tags are stored in a database for fast access, and, the applied tags are written into IPTC data fields of the image (at least for JPEG). So can use your tags with other programs or, in case of loss of that data in the database, the tags will be re-imported when the image is noticed by &digikam;.

##### Managing Tags

You can add new tags by right-clicking on either the "Tags" label or an existing tag and selecting New Tag. If you add a new tag by right-clicking on an existing tag, your new tag will be created as a sub-tag.

You can delete a Tag by right-clicking on the Tag you want to delete and selecting Delete Tag. When you delete a tag, the photographs themselves are not deleted. Simply the tag is removed from those photographs.

You can move the position of a Tag within the tree by dragging it to the position that you want and dropping it there. A menu will appear that gives you the option to Move the tag. This works from the left and right sidebar. A tag can only be in one place in the tree at a time.

You can set the Tag Properties by right-clicking on a Tab and selecting Edit Tag Properties. The Tag Properties allow you to change the name of the tag and the icon used in the "Tags" tree.

To select a different photograph as the tag icon, right-click on the photograph that you want to use as the tag icon and select "Set as Tag Thumbnail" from the context menu. Additionally you can use drag and drop to set the tag icon. Drag the images icon and drop it on the currently selected tag in the tag list.

##### Tagging Photographs

Before you can get the most out of &digikam;'s Tagging capabilities, you must first tag your photographs. There are two methods of tagging photographs. Once you have identified the photographs that you want to tag you can either drag and drop them onto the Tag in the "My Tags" tree or, by right-clicking on the selected photographs in the Image Window, you can use the Assign Tag menu to select the Tags you wish to set.

You can label a photograph with as many tags as you like. The photograph will appear when you select any of the tags that are set against it. This way you can set a tag for each person in a photograph, as well as the place the photograph was taken, the event it was taken at, &etc;.

###### Tagging Image with context menu, or with drag&drop from either sidebar

Once you have tagged a photograph, the tag name will appear under the thumbnail in the Image Window.

You can remove a tag from a photograph by right-clicking on the photograph and using the Remove Tag menu. This menu will only show those tags that have been set on this photograph.

#### "Searches" View

##### The Quick Search Tool

Quick Search provides you with a simple search form to search all data fields in the album library with a single query. You can enter any arguments in the Search text field and it will be used to determine the results. For instance, you can enter the string 'birthday' to search the complete album library for occurrences of the word 'birthday' in all photograph descriptions, or '05.png' to search for a specific image file name '05.png' (no escaping as in regexpressions needed).

Search Properties:

- searches are case insensitive

- blank separated search terms are boolean AND combinations

- special characters are literal and not interpreted ( . * ? / &etc;)

- include all elements of the database: names, rating, keywords, tags, albums, collections, dates (and more in the future)

The Quick Search really works intuitively. If you want to search images from a certain date, you can simply type `2005`, but it is even possible to search for a certain month. Just enter the name of the month in your local language. If it is Dutch, you can enter `Maart`, to see the images of March. The combination of 'Maart 2006' means 'Maart AND 2006' and therefore is equivalent to '2006 Maart'. Or look for 'Maart 2007 cr2' to find all RAW files of March 2007.

###### Quick Search Tool Dialog in Action

When you are satisfied with your selection, click on the Ok button, and the search will be carried out, and the results displayed in "My Search" view from the main window. The Save search as text field will be used to label your query in "My Search" list. If you want to modify your selection after performing a search, simply right click on the item from "My Search" view and select an option from the pop-up menu.

If you select Edit Search, the search form will re-appear, containing your previous search information. If you select Edit as Advanced Search, the advanced search tool dialog will be come up to modify your previous search information using more elaborate search rules. See the The Advanced Search Tool section for more information.

If you want to remove an existing search from the list, just select Delete Search from the pop-up menu.

###### Search View from Main Window

##### The Advanced Search Tool

Advanced Search tool provides an extended search form which can be used to search in specific fields of the &digikam; albums database.

The Search Rules list is used to set all options to process a search query in the albums database. All rules are listed vertically and separated by an operator. An option can be added or deleted to the list using Add/Delete Option or grouped/ungrouped together using Group/Ungroup Options. Each option can be combined with another one using As well as or Or logical operator.

If you made a rule with As well as and you realize that it should have been Or, you can easily switch to that by double clicking on the text As well as in the rules area.

An option is composed by four fields:

###### A Query Option Detail

- (1): the item used to search in the database, which can be an album, a name, a tag, an image, a keyword, &etc;.

- (2): the logical operator to process the item which depends on the item type.

- (3): the operator argument which can be a string or a name already set by database.

- (4): a checked box to manage the option using Add/Delete and Group/Ungroup controls.

For instance, you can set an advanced query to search all items in the database using these options:

- All album names contains the string 'adrien' and all image captions contains the string 'an'.

- Or all item which have the tag 'Peoples'.

- Or all keywords contains the string 'gilles'.

###### Advanced Search Tool Dialog in Action

If you want to group options together, just check the option box at the end of the rule and press Group button. Options will be appear in the list like this:

###### A Query Grouped Options Example

When you are satisfied with your search settings, click on the OK button. The advanced search will be carried out, and the results displayed in the "My Search" view from the main window. The Save search as text field will be used to name your advanced query in the "My Search" list. If you want to modify your selection after performing an advanced search, simply right click on one item from "My Search" view and select Edit Search from the pop-up menu.

### The &digikam; Light Table

&digikam; features a light table in a separate window to easily compare images. It works with all supported image formats including RAW files.

Select one or several images in any view from the main window, call F6 Add to Light Table from the context menu. The selection will be added to the light table, and its separate window will open. When you are back to the &digikam; main window you can quickly access the light table with &Alt;F6 Tools Light Table .

From the thumbbar drag & drop images to the left and right comparison pane below. A little arrow will indicate which copy is shown in which pane. If you choose Synchronize Preview from the toolbar, any zoom and panning in one window will be synchronously executed in the other pane, so that you can compare the same areas of two images.

Another mode is better suited for quickly culling from a series of images. If you choose Navigate by Pair from the toolbar, the first two images will be automatically inserted into the comparison panes. Click on any thumbnail to make it the left side preview, the adjacent thumbnail to the right will be inserted into the right pane. That make it easy to sift through a series of similar images.

Of course, the usual delete actions work from the light table directly as well as F4 File Edit... .

All image information from the main window right sidebar is available for each of the two previews in the light table. This makes it easy to link visual differences to exposure data for example.

In the lower right corner of each pane there you find a built-in panning action (crossed arrows). Click on it and keep the &LMB; pressed to pan across the image (in synchronous mode both images will show the same viewing port).

Zooming works the same as in other views: use indifferently the zoom slider below the panes or &Ctrl;scroll wheel to zoom in and out, with both images when in synchronous mode.

#### The Light Table in Action

### &digikam; sidebar

#### Introduction to the right sidebar

The &digikam; main window has a sidebar at the right border providing important information and actions of the selected images. This same sidebar is also available in the Image Editor view. It can be displayed by respectively clicking on one of the five tabs:

- Properties : File and image properties, key shooting parameters (EXIF tags)

- Metadata : EXIF, Makernotes, IPTC and GPS data (these properties can be edited by two Kipi-plugins

- Colors : Histograms and embedded ICC profiles

- Comments & Tags : Comments, Date & Time setting, Rating, Tags

- Tag Filters : Tag filters applied to main window selection

Clicking successively onto the same tab will make the sidebar pop up or fold back into the border.

&doc-sidebar;

#### Comments & Tags

This sidebar tab serves to apply and edit image attributes like captions, rating, date and tags. The attributes are stored in the associated database, in the IPTC and EXIF data fields and become part of the image. All attributes are accessible in one sidebar view as shown in the screenshot below. During image reading the order of priority is a) database b) IPTC and c) EXIF. So if there is a discrepancy between any of the three, this priority will take effect and a synchronization will take place. This sidebar has a first-previous-next-last arrow navigator field on top if shown in the main application.

##### sidebar Comments & Tags example

sidebar Comments & Tags Example

##### Comment View

The caption view can be used to type or paste in a caption of unlimited size (see note below). The text is UTF-8 compatible, meaning that all special characters are allowed. The captions are copied to EXIF and IPTC fields to be used by other applications.

IPTC data only supports ASCII characters and is limited to 2000 characters (old American norm). All texts will be truncated after 2000 chars, and special characters will be malformed. If you intend to use the IPTC caption field in other applications you should be compliant with these restrictions.

##### Date & Time

In the Date & Time section, which reflects the time of taking the photograph, you can change all values. From the date combo-box a calender opens, and the time setting spin-box can also be written by directly typing the time. The dating is copied to the EXIF 'Date and Time' field. If you need to change a number of images for their creating time & date, there is a more comfortable method available (requiring the Kipi-plugins). This latter option can be found under Image Adjust time & date.... Select the images to be changed in the main view and call the plugin.

##### Rating

The Rating section displays a 0...5 star rating scheme that can be used in searches and sort orders. It can be applied by a single mouse click to the 5 stars in the sidebar or with a keyboard short-cut Ctrl+0...5. The rating from the sidebar is always applied to one image at a time. To rate a number of images, select them and pop-up the context menu (right-click) to apply a common rating.

The rating is then transcribed into the IPTC 'urgency' data field. The transcoding follows the scheme in this table:

&digikam; Rating | IPTC Urgency
--- | ---
- | 8
* | 7
* | 6
** | 5
*** | 4
**** | 3
**** | 2
***** | 1

##### Tag Tree

The tag view shows an adaptive filter tag search box, the tag tree and a combo-box containing the tags previously applied in this &digikam; session.

The tag tree will be adapted dynamically as a function of the search word as you type into the box. So it is easy to quickly reduce the number of possibilities when searching for a tag. Of course, this feature is only useful if you have many tags.

The combo-box at the bottom is another ergonomic feature for easy tagging of an image series. As you apply different tags they will be memorized in this box for quick access.

Otherwise tags are simply applied by checking the respective boxes in the tree. All tags of an image are transcribed into the IPTC 'keyword' data field.

In case you have selected a number of images in the main view and you check a tag in the tag tree, this one is only applied to the highlighted image, and not to the whole selection. If you want to tag selections, refer to the Tag filters section.

#### Tag Filters

The tag filter sidebar is used to modify the set of images displayed in the main window view. Normally one uses the left sidebar with its Album, Date, Tags and Searches view. When additionally one or more tags on right sidebar tag filter is checked, only the cross-section of these two selections will be displayed. All created tags are available.

To give an example, suppose you have a tag called 'public' which tags all images except your private ones. Then you can check this 'public' tag in the right sidebar to hide the private images (all those not having 'public' tag). Whatever view mode you chose from the left sidebar, 'public' only image will be displayed. Another typical example is the selection of a subset of tags in a hierarchical tree. Suppose you want to display 'red' and 'green' from a tag tree containing 7 different colors as sub-tags. Simply click on the 'color' tag of the main view and check 'red' and 'green' from the right sidebar.

Another use is drag-and-drop tagging. Lets say you selected in the main view a number of images to tag them. If the tag already exists, simply drag it from the right sidebar onto the selection (any one of the highlighted images). A dialog will pop-up and ask if this tag should be applied.

Sidebar Tag Filters

In the above example the main window shows the images from a calender date, the tag filter is set to 'not tagged', which reduces the set to 3 images. They have been selected with Ctrl+a, then a tag is dragged from the right tag tree over the selection and dropped. A pop-up dialog asks if the tag shall be applied.

### Digital Asset Management (DAM) with &digikam;

What is digital asset management apart from a buzz word? Digital Asset Management (DAM) refers to every part of the process that follows the taking of the picture, through final output and permanent storage. Anyone who shoots, scans or stores digital photographs is practicing some form of DAM, but most of us are not doing so systematically or efficiently. We present a tool, a plan and practical advice on how to file, find, protect and re-use photographs, focusing on best practices for digital photographers using &digikam;.

Can you find your digital photographs when you need them, or do you spend more time sifting through your hard drive and file cabinets than you would like? Do you have a systematic approach for assigning and tracking content data on your photos? If you make a living as a photographer, do your images bear your copyright and contact information, or do they circulate in the marketplace unprotected? Do you want your future grandchildren admire your photographs you have taken yesterday? How to prepare to change your computer, your hard disk, the software, the operating system and still manage to find your pictures?

We try to answer all those questions. But let's take them one-by-one.

#### Build a system to organize and find your images

Todo

Themes: Hierarchy, tags, captions, date, albums, filenames, versionning, exporting

#### Protect your authorship and copyright

Todo

Themes: watermarking, IPTC and XMP authorship data, export size

#### Preserve your images through the changes of technology

Todo

Themes: metadata, IPTC stored in image files, XMP files associated, keep the originals, storage media, retrieval of images and metadata, copying image data over to the next generation of media, programs, operating system, viewing device... use of the www

### Using a Digital Camera With &digikam;

#### Introduction to Camera Interface

The Camera Tool allows you to download your photographs directly from your camera into a &digikam; Album. You can access the Camera Tool by clicking on the Camera menu and selecting from the list of configured cameras. See the Setup Camera Section of the manual for instructions on how to setup &digikam; to work with your camera. If you want to have more information about how &digikam; supports digital cameras, please a take a look at this section.

The Camera Interface is not the only way to get your photographs into &digikam;. See the Adding a photograph to an Album section for a description of how to add photographs that are already on your hard disk. But Camera Interface provides a lots of advanced settings to import images into your albums database.

To be able to use your digital camera with &digikam;, connect the camera to your computer, switch the camera to the image display mode and turn it on. See you camera's user manual if you need more information.

When you start the Camera Interface, it will try to connect to the Camera. For some cameras this connection phase can take a little while. When connected, a Ready indicator will appear on the bottom and thumbnails of any photographs on the camera will be displayed. Some cameras cannot provide thumbnails of the photographs. If this is the case, you will only see the filenames and a mime-type icon for each item stored by your camera (photograph, movies, sounds, etc).

##### The Camera Client Window

The Camera Client Window

#### Getting information about photographs from the Camera

Before downloading photographs to your computer, you may wish to see camera item information. Using the Properties and Metadata side bar tabs from Camera Interface will launch camera item properties and metadata information.

##### The Camera Item Properties Sidebar Tab

The camera item properties sidebar Tab

The Properties tab displays file information recorded by the camera and a resume of photographer information to describe how the image has been taken. A flag indicates if the image has not yet been downloaded to the computer. Note, all this information may be unavailable with some digital cameras.

The Metadata tab displays an internal picture's metadata like EXIF, Makernotes, GPS, &etc;. This information is the same as sidebar Meta-Data from the &digikam; main interface or image editor. Note, all these metadata can be unavailable with some digital cameras.

#### Downloading photographs to your computer

The simplest way to download photographs from your camera to your computer is to click the Download button and then click Download All. This will download all of the photographs on the camera to a single Album in &digikam;. The download process will not remove the photographs from the camera. It is always advisable to check that the photographs have downloaded safely into the Album you were expecting before deleting them from the camera.

If you do not want to download all of the photographs you can select just those that you need using the standard &kde; selection methods. Once you have the photographs selected, click Download and then Download Selected. The Download Selected button will be grayed out until you have selected some photographs.

If supported by your camera an option Download new is available. Those are images not yet downloaded by &digikam;. In that case the new images are already marked with a star in the thumbnail window. Obviously if you choose this handy option, it will download the new images only.

#### Selecting a Target Album

Using Download All or Download Selected buttons will bring up a dialog, that allows you to select a target Album into which the photographs will be downloaded. The list of existing Albums is displayed, ordered by the Folder method (see the Albums View for details of Album ordering). You can select the target Album from this list and then click OK.

##### The Target Album Selection Dialog

The Target Album Selection Dialog

If you want to create a new Album, into which you could download the photographs, click the New Album button. The new Album will be created as a sub-folder of the Album that is currently selected in the existing Album list. This means that, if you do not want your new Album to be a sub-folder of an existing folder, you must first select the "My Albums" entry from the very top of the existing Albums list before creating a new Album.

When you have selected the target Album, click OK and &digikam; will download the photographs from the camera to that album.

The Downloading in Progress

#### Deleting photographs from the camera

Once you are happy with the downloaded photographs that you wanted, you are ready to delete photographs from the Camera. You can delete all of the photographs at once by clicking the Delete Delete All button. If you just want to delete a selection of the photographs, you have to select those that you want to delete and click Delete Delete Selected

Please note that there is no way to restore a photo that you have deleted from the camera. The photographs are not moved to the &kde; Trash Can, they are removed completely. It is best to double check that you have successfully downloaded a photograph into a &digikam; Album before you delete it from the camera. Anyway, if you plan to empty the camera card, you better do that from the camera menu because it is much quicker.

#### Automatic Renaming

Cameras often do not use very meaningful filenames for photographs. The filenames are usually reused once the photographs have been deleted from the camera. This can lead to filename clashes if you download photographs from many shootings into the same Album. It can also be useful to include the date and time that a image was taken into the filename.

##### Files Renaming Options

Files Renaming Options

&digikam; can automatically rename your photographs using the date and time information included by the camera in the photograph. To use this feature, click the Settings button on the Camera Interface. The Camera Interface window will expand to reveal some extra features. Select Customize and then enter any filename prefix you would like. As an option you can then add the date & time, a sequence number or a combination of both. The sequence number may be needed if you have a camera with a very fast multi-shoot mode where it is possible to get two photographs with exactly the same data and time.

In the next box you find the options for rotating/flipping the image and for date based subalbums. If you check the latter option, folder per day will be automatically generated.

The 'On the fly operations' open three more options that act on the photos before storing them on disk. The first two relate to the authors data in Default Author Identity" Settings. If checked the respective items will be copied into the EXIF tags and IPTC fields. The last option allows a date & time for all downloaded pictures to be set.

- If you want another date format then the default date format, you could fill in for example: `photo-%Y-%m-%d %H:%M:%S` in the prefix edit line (turn off Add camera provided date and time). For additional customization read the man page of strftime.

- When you select Use camera provided names, you have the option to change the filenames to lowercase when downloading. Or use uppercase if you prefer.

The new filename that &digikam; will use for the photographs when they are downloaded is shown underneath the name provided by the camera in the thumbnail view. The renaming settings will be remembered the next time you use the camera interface.

#### Camera Information Based Operations

##### Automatic Rotation

&digikam; can use any information about the orientation of the camera at the moment the photograph was taken for automatic rotation of the photograph when it is downloaded. Not all cameras include this information. See the sidebar Meta-Data section for more detail about information that your camera may have embedded in your photographs.

###### On the fly Operations Options

On the fly Operations Options

This automatic rotation is switched on by default, and if your camera does not include the information, &digikam; will leave the photograph at its original orientation. If you would like to switch the automatic rotation off, click the Advanced button and deselect the Auto Orient option at the bottom of the window.

##### Automatic Destination Albums Creation

If your camera provides information about the date of the photograph's taking, &digikam; can use this to automatically create subalbums in the destination Album when it is downloaded. Subalbums names will be based on image dates. All images which have the same date will be downloaded into the same subalbum. Not all cameras include this information. See the sidebar Meta-Data section for more detail about information your camera may have embedded in your photographs.

###### Albums Auto-creation Options

Albums Auto-creation Options

This option is switched off by default and in this case &digikam; will download the photographs in the root destination Albums. If you would like to switch on this option click the Advanced button and select the Download photo in automatically option at the bottom of the window.

#### Uploading Photographs to your camera

The simplest way to upload photographs from your computer to your camera is to click the Download button and then click Upload. A standard &kde; file selection dialog will appear to select the files from your computer to copying on your camera. You can select more than one file using the standard &kde; selection methods.

When images selection is done, &digikam; will ask you where you want to upload the files on your camera. A camera folder selection dialog will appear. Just select one folder and press OK to start uploading. No images will be removed from your computer.

##### The Camera Folder Selection Dialog

The Camera Folder Selection Dialog

Uploading feature is not supported by all camera drivers.

#### How to use a GPS device with &digikam;

GPS (global positioning system) is used as a generic term throughout this document. It just means a location in latitude and longitude global coordinates that can be displayed on a map. The actual technical implementation that provides the data can be the American GPS, the Russian GLONAS, the European GALILEO or any other system.

Not only for professional photographers can it be interesting to link an image to a precise geographical location. Not everybody uses an airplane to overfly and scan a certain area with automatic GPS data recording. Environmental planners, military, police, construction bureaus, real estate agencies, all will have an immediate application.

But if, after some time, one has forgotten where the image was taken, if one loves the nice feature to open with a simple click a browser displaying a zoom of the area, if you like to send your image as a postcard to another &digikam; user (who is then able to locate your shot), or if you simply need the documentation aspect of it - having position data stored in a photo is great.

Now, how do we get GPS data into the images? exiv2 supports many kinds of the GPS data fields, even bearing, satellite and map references. So the question is really how to get the data into those fields? There are at least three ways to do this: directly with the appropriate hardware, per post-treatment of GPS and image files using the Geolocalization (Manual) Kipi-plugin and per 'manual' insertion of known locations.

- Direct GPS data insertion into the image files

  To our knowledge there is at the time of writing no camera that integrates a GPS unit. But there are a few that combine with GPS receivers, either as a plug-in card or by data transmission through cable or Bluetooth.

  Selfmade Howto

  Cameras with GPS interface: CoyoteEye iPAQ Ike Kodak DCS Pro Nikon DSLR Ricoh Pro G3 Sony

- Post-treatment of GPS data and image files

  Using the Geolocalization Kipi-plugin (Manual if Kipi-plugins are already installed).

  This approach is dead easy: while taking your pictures just keep a GPS device running and carry it around with the camera. Once you are done, download the pictures and the GPS tracks, and run the above plugin. It will correlate the data in the time domain; so it is important that the camera be accurate in its clock setting (the GPS device is always accurate through the satellites). The positional accuracy interpolated from the track points can be as good as 20 meters. Of course, this approach only works if your camera can record EXIF data.

  The GPS track download from a device can be managed with the gpsman or gpsbabel. It is important that the downloaded tracks are being stored in gpx format, which is the only one compatible with the Geolocalization plugin.

  Several programs exist for &Windows; and MacOS that are able to extract and correlate data from images and GPS data tracks. The following site provides the same functionality for &Linux;: gpsCorr or gpsPhoto

- 'Manual' insertion of known locations

  If you happen to know the latitude/longitude or other data you can use the this script which is a GPS wrapper for Phil Harvey's ExifTool that uses the signed floating number coordinate notation as produced by maps.google.

  maps.google.com does not show the street maps of Europe. But there are European sites (.fr .de .es .it .co .uk at least) that show all navigation details in all of Europe.

GPS devices: GPS tracker from Sony and EMTAC bluetooth GPS

### &digikam; Configuration

#### The Setup Section

&digikam; tries to give you as much control over how it works as possible. There are many options that change the behavior of &digikam;. To access these settings select Setting Configure &digikam; from the menubar. The configuration dialog is separated into 15 pages. You can change between these pages by clicking on the icons on the left-hand side of the dialog.

- Album Settings

- Collection Settings

- Default Author Identity

- Metadata (embedded information)

- Tooltip Settings

- Mime Type Settings

- Light Table Settings

- Image Editor Settings

- Save Image Options

- RAW Decoder Settings

- ICC Profiles setup

- Kipi Plugins Settings

- Slide show settings

- Camera Interface Settings

- Miscellaneous Settings

##### Album Settings

The Album settings control how the main application will behave.

The Album Library Path is the location on your hard disk where &digikam; will store all of the Albums. If you change this location without manually moving all of the Albums on the hard disk, &digikam; assumes that there are no existing Albums and will generate a new database at the new location. Your old Albums will not be altered but you will need to change the Album Library Path back to the old location to access them. If you are not sure of what you are doing it is best not to change this location.

The Thumbnails options are described in the Images section.

The Click action can be set to Show embedded preview or Start image editor. You herewith define the default behavior of &digikam; when you click on an image item in the main view.

##### Collection Settings

This dialog manages your Collection types. Album Collections are described in detail in the Albums section.

##### Default Author Identity for IPTC

This page contains the default identity and copyright data as shown on the printscreen below. The data will be automatically written into the respective IPTC data fields if so selected during the download from the camera interface. Also, if you call for database synchronisation, this data will be written into the IPTC fields.

##### Metadata (embedded information settings)

Image files can have some meta-data embedded into the image file format. This meta-data can be stored in a number of standard formats. &digikam; can read meta-data in the EXIF format if it is present in the file. &digikam; can also write captions into the EXIF information. Writing captions to the EXIF section is limited to JPEG images for now (the exiv2 library is in development and will be extended to PNG and TIFF format metadata embedding in the near future).

These settings allow you to control how &digikam; will deal with this embedded information.

Show images/thumbs rotated according to EXIF tag : this will use any orientation information that your camera has included in the EXIF information to automatically rotate your photographs so that they are the correct way up when displayed. It will not actually rotate the image file, only the display of the image on the screen. If you want to permanently rotate the image on file, you can right-click on the thumbnail and select Auto-rotate/flip according to EXIF orientation. The image will then be rotated on disk and the tag will be reset to "normal". If your camera routinely gets this orientation information wrong you might like to switch this feature off.

Set EXIF Orientation Tag to Normal after rotate/flip : the Auto Rotate option automatically corrects the orientation of images taken with digital cameras that have an orientation sensor. The camera adds an orientation tag to the image's EXIF meta-data. &digikam; can read this tag to adjust the image accordingly. If you manually rotate an image, this meta-data will be incorrect. This option will set the orientation tag to "Normal" after an adjustment, assuming that you rotated it to the correct orientation. Switch this off if you don't want &digikam; to make changes to the orientation tag, when you rotate or flip the image.

The IPTC Actions will save the data into the respective IPTC fields, which ensures a permanent metadata storage in the image and not only in &digikam;'s database. Thus, metadata is persistent across applications, and may be exported or imported into &digikam; without loss.

Save image captions as embedded captions (JFIF) in JPEG images : this will synchronize the captions that you add to your photographs with those in embedded in the image. This is useful because the captions embedded in the image can be read by other image viewers. Care should be taken if you have images that already have captions embedded in them because these captions will be overwritten by the captions made within &digikam;.

##### Tooltip Settings

This setup page covers all options of information appearing when the mouse hovers over a file in the main view. According the checked options they will be shown or not.

##### Mime Type Settings

&digikam; can understand lots of different image file types as well as some video and audio formats. To control which types of files &digikam; will try to display you can add or remove file extensions from these lists. Any files that are in the &digikam; Album folders that do not match these extensions will be ignored by &digikam;.

The default settings can be easily restored by clicking on the update buttons to the right of each category.

##### Light Table Settings

The setting of the &digikam; Light Table can be set to default values on this page so that every time you open the Light Table, these settings are activated (if possible, because for images having different sizes the synchronous mode does not work). The "Load full image size" is only recommended for fast maschines, but if you have one, enable this option for better viewing results.

##### Image Editor Settings

By default the Image Editor will use a black background behind photographs when they are displayed. If you prefer a different background color you can choose one here. You can also turn off the ToolBar when the Image Editor is in full screen mode.

Over and underexposed areas of an image can be indicated by dark and light marker colors that can be defined here. In the editor this viewing mode can be switched on and off with F10 and F11 respectively.

##### Save Image Options

When changes are made to JPEG files and they are saved back to the hard disk the JPEG file must be re-encoded. Each time a JPEG file is encoded a decision must be made on the level of quality that is to be applied. Unfortunately the level of quality applied is not recorded in the image file. This means that the Image Editor cannot use the same quality ratio when saving an altered image as was used for the original image. You can change the default level of quality that the Image Editor will apply when it saves altered images by moving the JPEG quality slider (1: low quality / 100: high quality and no compression).

Chroma subsampling is the practice of encoding images by implementing more resolution for luminance information than for color information. Please read this Wikipedia article for a full explanation.

With PNG compression option, you can reduce PNG image files size. This operation does not reduce image quality because PNG uses a lossless algorithm. The only effect is that image data needs more time to compress/decompress. If you have a fast computer you can change this value to use a high compression factor (1: low compression / 9: high compression).

With Compress TIFF option, you can toggle to use Deflate compression algorithm with TIFF image files. This will reduce TIFF image files sizes. It has no image quality effect because Deflate is a lossless algorithm.

With the LossLess JPEG 2000 files option allows for lossless storage, or, if the lossy options is selected, even then the quality for comparative files size is much better than normal JPEG. At the time of writing, metadata is not yet supported, but it is in the 'pipeline'.

##### RAW Decoder Settings

In the early versions of &digikam; the Image Editor was just a viewer for photographs, but it is rapidly developing into a very useful photo manipulation tool. This dialog allows you to control how the Image Editor will behave.

16-bit color depth

If enabled, all RAW files will be decoded to 16-bit color depth using a linear gamma curve. To prevent dark image rendering in the editor, it is recommended to use Color Management in this mode. If disabled, all RAW files will be decoded to 8-bit color depth with a BT.709 gamma curve and a 99th-percentile white point. This mode is faster than 16-bit decoding. In 8-bit mode only will the brightness setting be taken into account (dcraw limitation).

Interplate RGB as four colors

The default is to assume that all green pixels are the same. If even-row green pixels of the CCD sensor are more sensitive to ultraviolet light than odd-row this difference causes a mesh pattern in the output; using this option solves this problem with minimal loss of detail. To resume, this option blurs the image a little, but it eliminates false 2x2 mesh patterns with VNG quality method or mazes with AHD quality method.

Use camera white balance

Use the camera's custom white-balance settings if set. Otherwise apply Automatic color balance if this option is set.

Automatic color balance

Only used if camera white balance is not set. The default is to use a fixed color balance based on a white card photographed in sunlight.

Use Super CCD secondary sensors

For Fuji Super CCD SLR cameras only. Use the secondary sensors, in effect underexposing the image by four stops to reveal detail in the highlights. For all other camera types this option is being ignored.

Highlights

This is the story of the three highlight options, courtesy of Nicolas Vilars :

Default is here to consider highlights (read: part of your images that are burned due to the inability of your camera to capture the highlights) as plain / solid white (solid white option). You can get some fancy results with the unclip option which will paint the highlights in various pinks. At last you can try to consider recovering some parts of the missing information from the highlights (reconstruct option).

This is possible because the blue pixels tends to saturate less quickly than the greens and the reds. &digikam;/dcraw will try to reconstruct the missing green and red colors from the remaining none saturated blue pixels. Of course here everything is a question of tradeoff between how much color or white you want.

If you select reconstruct as the option, you will be given the choice to set a level. A value of 3 is a compromise and can/should be adapted on a per image basis.

A small warning here, for the few curious that have read the man pages of Dcraw, the author says that 5 is the compromise, 0 is solid white and 1 unclip. This is because in &digikam; 0 and 1 are the "solid white" and "unclip" options in the drop down menu (if you select these, the level slider will be grayed out). Therefore, the slider in &digikam; with the "reconstruct" option will let you choose between 0 to 7 (instead of 0 to 9 in Dcraw command line) where 3 is the compromise instead of 5 in "native" Dcraw command line tool.

Brightness (works in 8 bit mode only)

Set the luminosity to your taste, you probably need to go a little higher than the default = 1. But this can be adjusted later with the image options in the &digikam; image editor. Given the cost in time for demosaicing, stay conservative.

Quality

A demosaicing algorithm is a digital image process used to interpolate a complete image from the partial raw data received from the color-filtered image sensor internal to many digital cameras in form of a matrix of colored pixels. Also known as CFA interpolation or color reconstruction.

&digikam; and Dcraw offer us three alternatives: bi-linear, VNG interpolation, AHD interpolation. It seems that AHD interpolation (for Adaptive Homogeneity-Directed) is the best choice for quality according to some test that I have performed and the paper of the person that implemented it. VNG interpolation (Variable Number of Gradients) was the first algorithm used by Dcraw but suffers from color artifacts on the edge. Bilinear is interesting if you are looking for speed with a acceptable result.

Enable Noise Reduction

While demosaicing your image, you can additionally ask for noise reduction (at a speed penalty). This option applies a noise reduction algorithm while the image still is in CIE Lab color space. Because the noise is only applied to the Luminosity layer (the "L" of the Lab), it should not blur your image as traditional noise reduction algorithms do in RGB mode. So, if you converted an image from RAW and it appears noisy, rather than applying a denoiser, go back and re-convert with this option enabled. The defaults are: Domain = 2 and Range = 4.

Enable chromatic abberation (CA) correction

If you know the CA of your lenses you can set the red and blue correction values here. This is certainly the optimal method for CA correction as it is done during RAW conversion.

##### ICC Profiles setup

&digikam; has the ability to color manage your images. RAW files are not color managed at all. Your camera provides the data it has captured in a raw format and will let you manage all the processing. Every camera has its specifics regarding how it captures color information, therefore you will need to apply a specific profile to the images you want to process. Please refer to the section ICC color profile management for more details an explanations.

Basically, a profile "maps" the color information and gives information on how one should render them. It gives also information to LCMS and &digikam; on how to translate the color information from one color space to an other in order to keep the colors as accurate as possible.

Behavior Ask when opening an image in image editor / Launch Color Management tool with RAW files

Color Profiles Directory Set this to the folder where you store all your profiles &eg; "/usr/share/color/icc" or "/home/user/.color/icc". &digikam; will scan this folder when starting up.

ICC Profiles Settings Here you are given the ability to provide "default" choices for your profiles. Everything is adaptable later-on at the opening of a RAW file.

- The Use color managed view is an alternative to using Xcalib or Argyll. Only your image will be color managed, not your entire screen!

- You have to provide a workspace profile (linear profiles such as sRGB, ECI-RGB, LStar-RGB, Adobe-RGB or CIE-RGB). If you want to print your images, you may want to opt for Adobe RGB, if it is only for web publishing, sRGB is better (Adobe RGB will be displayed slightly dull in non color managed enabled software such as browsers). However you may change this later of course (by attributing another profile), therefore Adobe RGB can be a good choice for storing and image handling as you can always change it to sRGB before releasing an image for your blog.

  Do not use non-linear profiles as they will change the color-balance

- The input profile should match the camera maker and model you are using. 'Not all profiles are created equal', there are some that have no tone mapping/gamma correction included (Canon). As of now, dcraw does not correct gamma for 16 bit depth conversion, which means that you have to do the tone mapping yourself.

- There are some other options such as the soft proof profile which enables you to emulate, granted that you have a profile for it, how your image will render for a particular device. It is useful before printing for instance because your printer has a smaller gamut than your camera and some colors might look saturated. You may want to fix this manually instead of relying on the "blind" algorithm of your printer.

For most cameras it is pretty obvious what color profile they propose for the type at hand, not so for the Canon's. Here is a table of camera/profiles matches, it is non-authoritative of course:

Camera | Profile series
--- | ---
Canon 1D mark II | 6051
Canon 1D mark II | 6111
Canon 1Ds | 6021
Canon 1Ds mark II | 6081
Canon 5D | 6091
Canon 10D | 6031
Canon 20D | 6061
Canon 30D | 6112
Canon 40D | 6101
Canon 300D | 6031
Canon 350D | 6111 or 6071
Canon 400D | 6131

The Canon profile extension betray the target style: F for Faithful Style, L for Landscape Style, N for Neutral Style, P for Portrait Style, S for Standard Style.

Here you find a typical RAW workflow scenario.

##### Kipi Plugins Settings

Kipi is the &kde; Image Plugin Interface. It is an interface that is supported by a number of &kde; image viewer/editor applications. By providing this interface, &digikam; can take advantage of many plugins that are written to work with any application that implements the Kipi interface.

If your operating system has the Kipi plugins package installed, you will see a list of available plugins. Select those that you want to use and they will be loaded into &digikam;. The plugins will appear as new menu entries in the main menu bar and in the context menu for thumbnails.

Keyboard shortcuts to actions that plugins perform can be set up in the Setting Configure Shortcuts menu.

For more information about Kipi plugins, you can consult the Kipi project at http://www.kipi-plugins.org or the Kipi-plugins manual.

##### Slide show setup

The slide show setup should be easy to understand. The upper slider adjusts the time between image transitions; usually a time of 4-5 seconds is good. The other check boxes enable/disable the metadata to be shown on the bottom of the slide show images during display.

##### Camera Interface Settings

The camera settings shows on the left the list of the currently supported cameras. On the right at the top there is an auto-detect button, which tries to identify the camera connected to your computer (make sure that the camera is connected properly to the computer and turned on in the image display mode). Below this are the port settings; the currently supported are Serial, USB, and USB/FireWire Mass Storage.

Clicking on a camera in the list on the left will display the supported ports which you can then select. If there is only one supported port it will be automatically selected. At the bottom on the right there is a box for setting the exact path in case of a serial port. Please note that USB interface does not need any paths to be set. If you cannot find your camera on the list, you can try to use a generic Mass Storage device to selecting Mounted Camera item in the list.

At the very bottom is where you set the path for a USB or FireWire (IEEE-1394 or i-link) Mass Storage camera. This box becomes active once you select USB or FireWire Mass Storage camera in the camera list. You need to enter here the path where you mount the camera, usually "/mnt/camera" or "/mnt/removable".

To be able to use your digital camera with &digikam;, connect the camera to your computer, switch the camera to the image display mode and turn it on.

Try and see if &digikam; can auto-detect the camera; if not, you can set the camera model and port manually. Once you have the camera setup, go to the "Cameras" menu in the main interface and you will see the camera listed in the menu.

You can choose any title you like for the camera in the setup and this title will be used in the main window Cameras menu. If you have more than one camera, you can add them through this setup interface.

##### Miscellaneous Settings

With the Show confirmation dialog when moving items to trash setting you can set the verbosity of &digikam; when you delete a photograph or an Album. See Deleting a Photograph and Deleting an Album sections for more details.

The editorial changes done through the right sidebar can be quietly applied by &digikam; when setting the Apply changes in the right sidebar without confirmation option. Otherwise the changes must be applied by pressing the Apply changes button.

You can also switch off the display of the splash screen when &digikam; loads. This may speed up the start time of &digikam; slightly.

Scan for new items at startup option will force &digikam; to scan the album library tree for new items added or removed between &digikam; sessions. This may slow down the start time of &digikam;. If any items have been removed from album library, &digikam; will ask you confirmation before to remove definitely item references in database.

#### The Theme Setup

Color schemes are supplied like themes to personalize &digikam; main interface for you pleasure. To access these settings select Setting Themes from the menubar and select your preferred theme to use. A preview of the available themes is listed below:

Preview | Theme Name
--- | ---
| Clean
| Dark
| Default
| Dessert
| Digicasa
| Dreary
| Marine
| OrangeCrush
| Sandy

Theme settings are implemented in simple text file. If you are interested to create a new theme for &digikam;, you can find more information about it in this tutorial.

## The Image Editor

### Introduction to Image Editor

#### The Image Editor Window

&digikam; incorporates a fast Image Editor with a few basic yet powerful image editing tools. You can use the Image Editor to view your photographs and to make corrections and alterations. The Image Editor can be accessed either by clicking on a thumbnail in the Image Window or by right-clicking on a thumbnail and selecting View/Edit from the context menu.

The Image Editor provides a number of tools that enable you to adjust a photograph. Some of these tools are provided by plugins to &digikam;. So they may not be available by default on your distribution. See the Setup Image Editor Section for more details about Kipi-plugins.

##### The Image Editor Window

The Image Editor Window

The image editor has just one main window with:

- A status at the bottom which shows the filename, the current file number, the current zoom level, and the current image size.

- A menu bar across the top and below that a tool bar that provides quick access to some commonly used functions.

The Image Editor Toolbar

- (1) : First Current Album Image.

- (2) : Previous Image.

- (3) : Next Image.

- (4) : Last Current Album Image.

- (5) : Save the modified image.

- (6) : Undoing last action.

- (7) : Redoing previous action.

- (8) : Restore the Current Image From Disk.

- (9) : Zoom Into the Image.

- (10) : Zoom Out of the Image.

- (11) : Toggle Auto Zooming (if selected image will fit in the window).

- (12) : Rotate the Current Image.

- (13) : Crop Image to the Selected Region.

#### Restoring Your Original Photograph

The editing functions of the Image Editor will make changes to your photograph. None of the editing functions will change the original photograph unless you select File Save or click the Save button in the tool bar. Note that once you have saved the changed version you will not be able to recover the original photograph.

You might prefer to take a copy of your photograph before you make any changes. You can use File Save As to save a working copy.

At any time before you save your photograph you can restore the view to the original image by selecting File Revert or clicking the The Image Editor Revert Button Revert button on the tool bar. You will lose any changes that you have made to the photograph since it was last saved.

#### Undoing/Redoing Actions

Almost anything you do to an image in Image Editor can be undone/redone. You can undo the most recent action by choosing Edit Undo, and redo by Edit Redo

If these are done frequently, you really should memorize the keyboard shortcuts, &Ctrl;-Z to undo an action, and &Ctrl;-Shift-Z to redo an action.

You have to press the &LMB; over the undo or redo icon in the tool bar and hold it down for a moment to produce a context menu. If you choose one of the menu items, all undo/redo actions until the chosen ones are undone/undone.

#### Moving Between Photographs

Once you have started the Image Editor you can move between photographs in the same view you started from by using the navigator buttons on the toolbar, PgUp, PgDown or the entries in the File menu. If you have made any changes to the current photograph you will be asked if you want to save them.

#### Changing the View

You can zoom in and out of a photograph using the &Ctrl;scroll wheel, the toolbar icons or the entries in the View menu.

To make a photograph fit the window use this button on the tool bar: Zoom Autofit The Image Editor AutoFit Button

View Toggle Full Screen will display the photograph using the full screen mode. You can move back to the normal view by pressing the Esc key. By default the toolbar is still displayed even in Full Screen Mode. If you would prefer that the toolbar is not displayed you can turn it off in the Configure &digikam; dialog accessed from the main &digikam; window, see the Setup Image Editor Section.

#### Printing Images

When you want to print the current image from the Image Editor, select File Print image (&Ctrl;+P) and you get the standard &kde; Print dialog, where you can adjust the settings before printing your photograph.

For more information about advanced printing settings, please consult &kde; Print manual.

From the main window view you can print single images or whole sets of them. Entire thumbnail pages can be printed with your selection. All you need to do is selecting images the standard way and call Album Export Print Wizard. Then follow the instructions and choices to make.

&doc-photo-editing;

&doc-menu-descriptions;

&doc-credits-annexes;