Contents
Managing digital photographs in Linux is very straightforward. KDE's digiKam downloads your images directly from your camera. It helps you organize and manipulate your images to get the best possible result to present to others. The application includes several useful plug-ins that can convert your images to various different formats. Image improvement plug-ins also include red eye reduction, speck removal and hot pixel removal. Various filter and effect plug-ins help create little works of art from your digital images.
Start digiKam from the main menu or by pressing Alt+F2 and entering digikam. On start-up, digiKam shows a window with two main areas: a list of your albums to the left and the images in the current album to the right. See Figure 19.1, “The Main Window of digiKam”. The rightmost edge of the window has the , which can be used to filter the amount of images displayed in the main view using tagging information. For details about tagging in digiKam, refer to Section 19.5, “Managing Tags”.
To download images from your digital camera, simply connect the camera to the USB port of your computer using the USB cable provided by the camera manufacturer. Depending on your camera model, you may need to switch your camera to a special data transfer mode. Consult the camera's manual about this.
There are three possibilities for accessing the pictures on the camera. USB mass storage or PTP (also known as PictBridge) are the most widely used protocols. Some camera models do not work with either one and need special drivers provided by gphoto2 (Section 19.10, “Troubleshooting”).
If your camera can be switched to a USB mass storage device, select this option. After you connect the camera to the USB port of your computer and turn the camera on, the new USB device is automatically detected and mounted. KDE lets you select the action to take in the event of any such device being mounted. You can choose to start digiKam or any other image viewing or processing application whenever a device of this type is mounted.
To set up a camera in digiKam, select +. First, try to detect the camera automatically with . If this fails, browse the list of supported cameras for your model with . If your camera model is not included in the list, try an older model or use and confirm with .
To download images from a camera that has been correctly configured, attach the camera to your computer and select the camera from the menu. digiKam opens a window and begins to download thumbnails and display them as in Figure 19.2, “Downloading Pictures from a Camera”. Right-click an image to open a pop-up menu with the options to the image, display some or , , or the image. Select at the bottom of the download window to rename the image files using and to determine how the EXIF data provided by the camera should be handled.
![]() | Renaming Images |
|---|---|
Mass renaming of your images comes in handy if your camera's filenames are not meaningful enough for your purpose. Provide a unique prefix, add an optional date, and let digiKam provide a sequence number. | |
Select all images to download from the camera by pressing the left mouse button or by clicking individual images with Ctrl pressed. Click and select the destination from the list or create a new album with , which automatically suggests a filename with the current date. Confirm with to start the download process.
To retrieve any information about your image, hold the mouse pointer over the image to display a tool tip with very basic data about your image or right-click the image and select from the context menu.
The following information is available:
This tab lists basic file information, such as name, date, size, owner, and permissions, and some basic album information like the album to which the image belongs and any tags or ratings assigned to this image.
EXIF information is provided by the camera and contains all sorts of technical details about the camera and the image, such as camera manufacturer, model, exposure time, and resolution. For a basic overview, set the to . For the complete data set, select .
Use the tab to display a graphic representation of the range of tones from dark to light in your image. Using the histogram, check whether you used the correct exposure in creating this image.
digiKam creates a folder called by default to hold all of your images. You can move your images to subfolders later. The albums can be sorted by directory layout, by collection name set in the album properties, or the date that the albums were first created (this date can also be changed in the properties of each album).
To create a new album, use one of these methods:
Upload new images from the camera and create the target album on-the-fly during the download.
Create a new album by clicking in the toolbar.
Import an existing folder of images from your hard disk (select ++).
Right-click and select .
Once you have chosen to create a new album, provide some basic administrative information about the new album, such as an album title. Optionally, choose a collection, insert some comments, and select an album date. Collections are a way of organizing your albums by a common label. This label is used when you select ++. The comment is shown in the banner at the top of the main window. The album date is used when you select ++.
digiKam uses the first photograph in the album as the preview icon in the list. To select a different one, right-click the respective photograph and select from the context menu.
Managing lots of different images across various albums can be a nightmare. To manage your images by custom categories and across albums, digiKam provides the system. Tags categorize images and more than one tag can be assigned to an image.
For example, assume that you took several pictures of your friend, Joe, and distributed them across various albums. Now you are looking for an easy way to generate an overview of all pictures ever taken of Joe. Using digiKam's tags, proceed as follows for this scenario:
Select + in the upper menu bar and enter a name for
the new tag, in this case Joe. Provide an optional
icon and leave this dialog with .
Go to each album and tag all images showing Joe by right-clicking the image and selecting +.
If you need to process a huge number of images, an easier way to do the tagging would be using the option from the context menu that opens when an image is right-clicked. This dialog allows you to assign tags to this image, enter an optional descriptive comment, and rate this image. When you are done with the first image, stay in this dialog, click , and proceed with all the other images of this album. When finished, click and to apply your settings. Proceed similarly with all other albums and images.
To retrieve all images in your entire collection that carry a certain
tag (in this case Joe), proceed as follows:
Open the tab in the left tab bar.
Unfold the item.
Select the tag.
As a result, all images in your entire collection carrying this tag are displayed.
The in the rightmost edge of the main window limits the number of images displayed for the current album to those marked by the tag or tags selected here.
Any image collection soon becomes unmanageable if you do not find a means to search for the images you need and find them without much of a hassle. To help you organize your collection, digiKam offers you two search options:
A basic search. Just enter a text string that might be associated with your image (image or tag name or comment) and hit . You can save this search for future use and edit other existing searches listed under .
Complex search filter. Set up complex rules using any image property (album, tag, rating, date, etc.) and combine these options as needed. You can save your search filter for future use and edit other existing searches listed under .
The following example illustrates how to create an using rating or tag information to search for images:
Select the tab to the left of the main window.
Right-click and select .
Select the first search criterion. In this case, select
Rating+Equals+5 Stars to search for all images that
have been rated with five stars.
In the section, select and click . A new search rule is added below the existing one.
Select the second search criterion. In this case, select
Tag+Equals+Filters to search for all images that have
been tagged with a tag named .
Add other search criteria if needed, group criteria, or delete them. The results of your search are displayed in the search window.
To save the search for future use, specify a name for this search and leave the dialog with .
digiKam provides several export options that help archive and publish your personal image collections. It offers archiving to CD or DVD (with k3b), HTML export, and export to a remote gallery.
To save your image collection to CD or DVD, proceed as follows:
Select ++.
Make your adjustments in the dialog using its various submenus. After that, click to initiate the burning process.
With , determine which part of your collection should be archived by selecting albums and tags.
In , decide whether your image collection should be accessible through an HTML interface and whether automatic run functionality should be added to your CD or DVD archive. Set a selection title and image, font, and background properties.
Change the settings for the volume description in , if necessary.
Adjust the burning options to your needs in , if necessary.
To create an HTML export of your image collection, proceed as follows:
Select ++.
Adjust the settings in to your needs, using the various submenus. When you are done, click to initiate the gallery creation.
Determine which part of your collection should be archived by selecting albums and tags in .
Use to set the title and appearance of your HTML gallery.
Determine the location of the gallery on disk as well as image size, compression, format, and the amount of metadata displayed in the resulting gallery with .
Specify size, compression and file type for the thumbnails used for gallery navigation in .
To export your collection to an external image gallery on the Internet, proceed as follows:
Get an account for an external Web site to host your gallery.
Select ++ and provide URL, username, and password for the external site when asked for them. digiKam establishes a connection to the site specified and opens a new window called .
Determine the location of your new album in the gallery.
Click and provide the information requested by digiKam.
Upload the images to the new album with .
digiKam comes with a comprehensive image viewing and editing suite
consisting of various plug-ins. To enter digiKam's viewing and editing
mode, double-click an image thumbnail. To use the plug-ins, you need
to install the digikamplugins
package.
Use to zoom in and out of your image and to insert histograms. Using the option, you can judge the exposure of your image while viewing it.
Use the menu to edit the properties, comments and tags of your images and to apply basic effects or to insert text:
Select the type of texture you want to apply to your image and determine how prominent this texture should be (). digiKam applies the texture and saves the changes to the original copy of your image.
Select the type of border. Depending on the type of border you have selected, choose one or two colors to be used for the border and set the width of the border around your image. digiKam creates the border and saves the changes to the original copy of your image.
Enter the text you want to superimpose on the image, choose font, font style and size. Select the text justification and decide whether the text should be rotated and to what degree. Add an optional border and semi-transparency. digiKam adds your text layer to the original image.
Use the menu to address a number of common defects related to digital imagery:
Tweak various aspects of the image related to colors.
Tweak the sharpness of your image or smooth it.
Enhance the sharpness of your image.
Sharpen your image by trying to refocus it.
Reduce or eliminate red eyes caused by use of a flash.
“Heal” defective areas of your image.
Detect and erase problem pixels of your image caused by defective pixels of your camera's sensor.
Provides an all-inclusive treatment to images suffering from all sorts of digital defects, such as noise and scratches.
Remove artifacts, such as those caused by dust on your lens or sensor. Compensate for pixel noise caused by high ISO settings of your digital camera and reduce noise and artifacts in low quality scans.
Compensate for barrel and pincushion distortion of your images caused by the use of strong wide-angle or telephoto lenses.
Compensates circular shades (vignettes) at the edges or in the center of your image that were caused by the use of strong wide-angle or telephoto lenses.
To observe the functionality of the options, look at , for example. Assume some dust or scratch on your lens ruined an image. To remove this kind of artifact, proceed as follows:
Open your image.
Use the mouse cursor to select the area to which to apply the fix.
Select + or press Shift+I.
Determine the method to use to remove the artifact:
If you opted against using any of the preset filters (in the tab), open the and tabs and adjust the settings to your needs.
Click to apply your settings and modify the image accordingly.
![]() | Creating and Reusing Your Own Filter Settings |
|---|---|
If you need to use the same set of settings more than once, for example, if a scratch on the lens ruined an entire series of images, create your set of filter settings. Save them for later use by clicking and saving them to a text file. For subsequent images, open the dialog, click , then select the text file and apply the filter settings with . | |
To scale or rotate an image, use the menu:
Rotate your image to a certain degree. rotates by multiples of 90 degrees. With , specify any angle you want.
Crop your image. cuts to any rectangular selection on top of your image. crops the image following various sophisticated design principles.
Adjust the perspective of an image. For example, if you notice some odd angles in shots containing vertical or horizontal lines, use this tool to set them right. Grab any of the four handles to the corners of your image and move them as much as needed. Use the tool to remove the resulting black edges of your image and to trim it down.
Shift one part of your image to one direction and the other to the opposite direction, either horizontally or vertically. Specify the angles for vertical and horizontal shear and use to trim the resulting image.
Scale your image larger or smaller. offers a simple interface allowing you to manipulate your image size by pixel or percentage. Select whether to keep the aspect ratio. performs basically the same resizing operation on your image. In addition to a simple scaling operation, you can enable filters to apply to the scaled image to improve the quality of the resulting image. Whenever you need to print the final result, select instead for a simple . You can save the filter settings to a text file and load and apply them to more images later.
Assuming you have an image that is otherwise perfect, but you are not entirely satisfied with the composition yet or need to crop your image to match a certain paper format for reproduction. In this case, use and proceed as follows:
Open your image.
Select +.
Determine the orientation and aspect ratio to use:
Specify a free crop of the image using the , , and , sliders.
Select a custom ration of width versus height instead of using one of the preset values.
These ratios match most of the common paper sizes used to print photographs. Pick the one that suits your purpose best.
A ratio (1:1.618) that is traditionally used by artists and architects to create harmonious results.
Use to set the crop area to the maximum possible size of the ratio specified.
After determining the size of your crop selection, optionally apply compositional rules to it. The helps to create a crop selection that results in a visually pleasing image. Dotted lines are displayed that guide you to a better composition of your image.
![]() | For More Information |
|---|---|
For a comprehensive description of the options, refer to http://docs.kde.org/development/en/extragear-graphics/digikam/using-kapp-imageeditor.html. | |
If the position of your crop does not follow the compositional rule to your satisfaction, move it.
Click to apply your crop selection and trim your image.
You can select from a variety of basic effects and filters to apply to your images to give them a more artistic or over-the-top look:
Transform your color image into a black and white one. Choose to get a simple grayscale image. Simulate the use of a color filter (green, orange, red, or yellow) that accentuates areas of a certain color in the original image by selecting any of the options. Simulate the tint effect of various chemicals in the dark room by selecting one of the options.
Apply raindrop effects to your image. Determine the size and number of the drops and finally specify the degree of distortion caused by the drops ().
Simulate the use of infrared film to achieve a slightly surreal effect. The result is strikingly different from the original image. Add additional film grain and tweak the sensitivity (ISO) to achieve a more artistic feel.
Simulate an oil painting. Determine the brush size and the degree of smoothing to apply to your image.
Pretend your image had been embossed to a sheet of paper. Choose an appropriate depth.
Simulate an overexposure to sunlight.
Apply various strange distortion effects, such as fish eyes, to your image. Determine type, level, and repetition.
Add film grain to your image to give it a rough look.
Blur your image to simulate the image being out of focus or to mimic any kind of movement that was not there when you took the image.
Transform your image into a black and white charcoal drawing. Choose an appropriate pencil size and determine the degree of smoothing to apply to the image.
digiKam offers several little helpers for organizing your image collection and for processing your images. Find them in the menu:
If you suspect your collection to contain a number of duplicates, use this option to find and delete them. First, determine which album or tag to include in the scope of your search. Click to initiate the search. If your collection contains any duplicates, you get a split screen showing both images and can select one of them for deletion to eliminate the duplicate.
Create a simple calendar using a standard layout by just selecting the images to use and by selecting paper size and fonts.
Present your image collection by means of a slide show. Determine the scope of the slide show, the effects to use and what information to display along with the images. Set the delay between images and start the slide show.
digiKam supports converting images from various vendor-specific RAW formats to common image formats such as JPEG or PNG. Using this option, convert single images. If you need to convert several images, consider using a batch conversion (++). To find out whether your camera's RAW format is supported by digiKam converter plug-in, check http://www.cybercom.net/~dcoffin/dcraw/.
Perform certain actions on a large number of files at once. Add borders, edit the colors, apply various effects and filters, rename and resize images, recompress them, or perform a RAW conversion.
An example batch processing of images could involve applying a solarizing effect to a number of images. To queue images for batch processing and perform the actual processing, proceed as follows:
Select ++ or right-click the album's name and select +.
Set the effect to and click to determine the degree of the effect to be applied and display an optional preview.
Determine whether to rename or overwrite the original images or even have them removed after the transformation has taken place.
Set the target folder to hold the resulting images. If you do not want the new images to be written to the original folder, select and add a new folder or subfolder. Select the new folder with your mouse pointer.
Accept or modify the list of images queued for the transformation.
Click to initiate the transformation.
digiKam informs you about the progress and the success of the transformation.
Although SUSE Linux Enterprise and digiKam support a broad range of cameras, you might occasionally hit one of the following problems when using your digital camera with SUSE Linux Enterprise:
If downloading your images fails no matter which protocol you have
chosen (PTP or USB), try using the command line instead of digiKam. The
gphoto2 --P command initializes the
camera and downloads the images if gphoto2 supports this camera.
Try
gphoto2 --list-cameras and the
information at http://www.gphoto.org/ to obtain more
information about the status of your camera's support by Linux.
If the camera is not listed there, remove the storage medium from the camera and use a card reader device (either an external or internal one). As soon as the medium is detected, it is mounted automatically and you can import the images to your digiKam collection with ++ or ++.
For more information about using digital cameras with Linux, refer to the following Web sites:
http://docs.kde.org/development/en/extragear-graphics/digikam/index.html—The official digiKam Handbook
http://docs.kde.org/development/en/extragear-graphics/digikamimageplugins/index.html—digiKam Plug-in Documentation
http://www.gphoto.org—Information about gPhoto2
http://www.gphoto.org/proj/libgphoto2/support.php—A comprehensive list of supported cameras