Bug 136742

Summary: Add an interface to change internal camera settings
Product: [Applications] digikam Reporter: Stéphane Pontier <shadow.walker>
Component: Import-SettingsAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: caulier.gilles, friiduh, marcus, vikram.ramchandran
Priority: NOR    
Version: 0.9.0   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stéphane Pontier 2006-11-02 22:28:15 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Mandriva RPMs
OS:                Linux

I have a Canon Camera and I like the gtkam (more exactly gphoto) functionality to change camera settings, like Owner's name, date and time, that allow me to be sure that the exif time will be right and the camera will fill the makernote's metadata with "owner's name" correctly.
It could be nice to have these setting availlable directly in digikam.
Comment 1 caulier.gilles 2006-11-03 08:39:27 UTC
Already implemented in 0.9.0

Gilles Caulier
Comment 2 Stéphane Pontier 2006-11-03 09:28:17 UTC
I'm using digikam 0.9.0beta3 with exiv2 0.10, libkipi and kipi-plugins from a svn checkout of wenesday, I found out that I can modify, with the edit metadata plugin, the artist exif field, the byline, credit, contact IPTC tags.
That I can change the Default IPTC identity information in "identity" configuration and set Digikam to use this identity to tag images when saving. but I didn't found how to change my camera setting (configured as normal or ptp mode) and set my camera time and owner name.
Do I have to pass a specific parameter at compilation time or simply sleep a little more to be able to find the right menu.
Comment 3 caulier.gilles 2006-11-03 10:45:34 UTC
Le Vendredi 03 Novembre 2006 09:28 AM, StXXphane Pontier a 
Comment 4 Stéphane Pontier 2006-11-03 20:23:27 UTC
I tried to modify the "On Fly Operations" to set the "defaut photographer identity" ang download an image taken with my camera.
- The camera has the owner name set to "Stephane" (with gtkam) has shown by gphoto2:
--------------------
[shad@uriel ~]$ gphoto2 --summary
Détection du 'Canon:PowerShot A95 (normal mode)'.
Résumé de l'appareil :

Identification de l'appareil :
  Modèle : Canon:PowerShot A95 (normal mode)
  Propriétaire : Stephane

État énergie : sur piles (énergie OK)

Information sur le disque Flash :
  Disque D:
      500'176 octets au total
      278'112 octets disponibles

Heure : 2006-11-03 20:10:48 (heure du PC +0 secondes)
--------------------

- Digikam on this computer has default identity set to antoine

the picture downloaded by digikam has the IPTC ByLine field set to antoine, and the camera owner's name set to "Stephane"

----------------------
[shad@uriel Incoming]$ exiv2 -p i IMG_5114.JPG
...
Iptc.Application2.Byline                     String      7  antoine
...
----------------------
[shad@uriel Incoming]$ exiv2 -p v IMG_5114.JPG
0x0009 Canon        OwnerName                   Ascii      32  Stephane
----------------------

the IPTC byline field had been set accordingly the "On Fly Operations" settings. But, to setup the makernote's metadata which is filed by the camera at the shoting time, I had to use gtkam.
This is this camera setting that I want to be able to modify from digikam.
that allow to set my camera owner name, the one of my friend too, and when we transfert pictures on the same computer, we know from which camera the picture was taken (both are same model).
Comment 5 caulier.gilles 2006-11-04 09:00:45 UTC
Ok. I have not understand your report properly. You want to the the Canon makernote OwnerName at the same time than IPTC Copyright tag.

It's easy to do. I reopen this file.

Gilles
Comment 6 Stéphane Pontier 2006-11-04 16:18:21 UTC
Yes, to be more clear, I want to be able to modify the camera setting once(from digikam) so the camera fill the makernote field automatically at each shot, not that digikam fill the makernote field on the fly at each picture transfert.
Comment 7 caulier.gilles 2006-11-04 17:17:35 UTC
Well, digiKam has a new kipi-plugin to change picture Metadata. This one support Exif and Iptc but not yet Makernote, because it a complicated task.

Look here : http://www.digikam.org/?q=node/163

Gilles
Comment 8 caulier.gilles 2007-08-30 12:47:09 UTC
Stephan,

Camera settings can be adjusted (normally) under KDE3 using KControl/Kamera pannel. But this tool sound like broken with my pure Gphoto2 camera (Olympus C3000Z)

I have take a look in source code of this tool and i can take inspiration to backport/Improve/fix code under the CameraGUI-Camera Info dialog. What do you think about ?

Gilles
Comment 9 Stéphane Pontier 2007-09-11 13:44:03 UTC
Yes, it's a good idea, this tool allowed me to change the owner name in the camera pref as I wanted. It may be buggy/broken because I had to retry several time before I could set the pref for my camera (PowerShot A95). The tool even allow me to sync the camera time, useful for GPS sync.
Comment 10 caulier.gilles 2008-12-06 09:30:03 UTC
Stéphane, 

This file still valid using digiKam 0.9.4 and a recent Exiv2 version ?

Are you tried to play with 0.10.0 too ?

Gilles Caulier
Comment 11 Stéphane Pontier 2008-12-08 22:13:58 UTC
I'm using 
digikam-0.10.0-1.beta6.3mdv2009.1 
exiv2-0.17.1-1mdv2009.0
kde3-digikam-0.9.4-0mdv2009.0
but I haven't seen where could set the owner for the camera (My camera is a powershot A95 only working in PTP mode)
Comment 12 Marcus Meissner 2008-12-08 22:31:23 UTC
Use:

gphoto2 --camera "Canon PowerShot A95 (PTP mode)" --port usb: --set-config owner="whatever owner name"

Not sure if this needs to be in a digikam dialog.

btw, libgphoto2 2.4.3 will only PTP, so it should work all the time in the kcontrol/kamera dialog.
Comment 13 Fri13 2009-11-20 19:33:30 UTC
Is this supported by all cameras or only by Canon? If not supported for all cameras (or most) and there is way to give name from other application. It would be nice to have a GUI on digiKam for this, but I would not take it as feature.
Comment 14 Marcus Meissner 2009-11-21 12:12:17 UTC
as said ... for Canon, for Nikon DSLRs, the Olympus series and some others.

but definitely not all.

Just starting the KDE KIO Camera Control module would be an option, it has all the configuration stuff already.
Comment 15 caulier.gilles 2011-12-18 14:09:11 UTC
*** Bug 207936 has been marked as a duplicate of this bug. ***