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

Example2.20.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.

Example2.21.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.

Note

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.

Example2.22.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 DeleteDelete 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 DeleteDelete Selected

Caution

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 an image was taken into the filename.

Example2.23.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 add many information independently or by combination including : date, time, original file name, file extension, directory, owner, group, camera name, a sequence number or any other metadata from the photograph.

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 photographs to be set.

Tip

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

  • If you want another date format then the default date format, click on Date & Time..., choose Custom in Format drop-down list and fill in for example "dd.MM.yyyy hh:mm:ss". For more information, read QdateTime class reference.

  • When you select Camera filenames, 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.

Example2.24.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.

Example2.25.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.

Example2.26.The Camera Folder Selection Dialog




Note

Uploading feature is not supported by all camera drivers.

How to use a GPS device with digiKam

Note

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 Geolocation Kipi-plugin (Manual) 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

  • Post-treatment of GPS data and image files

    Using the Geolocation 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 Geolocation 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.

GPS devices: GPS tracker from Sony and EMTAC bluetooth GPS