Bug 207936 - Remote control of Camera (similar to gtkam)
Summary: Remote control of Camera (similar to gtkam)
Status: RESOLVED DUPLICATE of bug 136742
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 1.0.0
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-20 03:07 UTC by Vikram Ramchandran
Modified: 2017-08-16 06:14 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vikram Ramchandran 2009-09-20 03:07:56 UTC
Version:            (using KDE 4.3.1)
Compiler:          gcc version 4.4.1 (GCC)
 
OS:                Linux
Installed from:    Unspecified Linux

New feature request.

Allow the user to manipulate camera settings like aperture, shutter speed, ISO etc. remotely from digikam. This will add to current functionality of image capture.

libghoto currently has these features via the --get-config and --set-config settings on the command line or via the gtkam GUI.

many thanks for creating and maintaining digikam. This is one of my favourite apps.
Comment 1 Michael G. Hansen 2009-09-20 09:55:14 UTC
I had a look at how the --get-config and --set-config options in gphoto work a while back. Apparently, libgphoto does not provide direct access to these configuration options, but a configuration dialog. The command line gphoto program requests the configuration dialog and then analyzes the widgets in the dialog to see which options it can offer. When you use --set-config, it modifies the values of these widgets and "presses OK" in the dialog, all without ever showing it.

So there are two options:
- simply request the gtk-based configuration dialog from libgphoto and display it to the user
- reuse or rewrite the code that takes this dialog apart and create a KDE/Qt based one

`gphoto2 --summary` also shows camera properties, but I don't know how easy it is to relate these to the convenient options presented by --set-config.
Comment 2 Marcus Meissner 2009-09-20 10:01:59 UTC
The dialog is not a GTK dialog, it is more or less a abstract dialog tree.

The whole configuration display/setting is already implemented in the kio_kamera kconfig module.

Just the actual remote capture / preview is not implemented in a KDE/QT program yet.
Comment 3 caulier.gilles 2009-09-20 10:04:29 UTC
>- simply request the gtk-based configuration dialog from libgphoto and display
>it to the user

Certainly the better way. Never tested to be clear.

>- reuse or rewrite the code that takes this dialog apart and create a KDE/Qt
>based one

Already tested. Very difficult (look in cameraui dir, there is a Qt3 dialog code not compiled). Problem is the GTK loop messages and Qt signals/slots conversion. It think it's impossible to do. 

>`gphoto2 --summary` also shows camera properties, but I don't know how easy it
>is to relate these to the convenient options presented by --set-config.

Already implemented. Go to Device/Information dialog.

IMPORTANT : A camera capture tool is already implemented. I have used my old Olympus C3000Z few year ago, but now, device is dead. I cannot test anymore. Try it using Device/Capture dialog (work only with specific Gphoto2 camera)

Gilles Caulier
Comment 4 caulier.gilles 2009-09-20 10:13:00 UTC
Gphoto2 camera config dialog code : 

http://lxr.kde.org/source/extragear/graphics/digikam/utilities/cameragui/gpconfigdlg.cpp

Code do not compile and is not yet complete...

Gilles Caulier
Comment 5 Geert Janssens 2011-08-09 09:11:33 UTC
There are three enhancement requests for this in the database:
Bug 186574
Bug 207936
Bug 258227

Should they be marked as duplicates of only one ?
Comment 6 caulier.gilles 2011-12-18 14:09:11 UTC

*** This bug has been marked as a duplicate of bug 136742 ***