[Digikam-devel] [Bug 209382] Caption not being updated in image file

Gilles Caulier caulier.gilles at gmail.com
Wed Oct 7 07:51:39 BST 2009


https://bugs.kde.org/show_bug.cgi?id=209382





--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2009-10-07 08:51:36 ---
>LibKExiv2: 0.6.0

I recommend to use code from svn, where a lots of problem have been fixed. Code
is there :

http://websvn.kde.org/trunk/KDE/kdegraphics/libs/libkexiv2/

>LibExiv2: 0.17.1

Exiv2 0.18.2 will be better there... 

Few pointers in code :


* In this code, you can see the main loop which update meatadata from items
when you press Apply button from right sidebar :
http://lxr.kde.org/source/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.cpp#536

* This class is a hub to change metadata from DB and image files :

http://lxr.kde.org/source/extragear/graphics/digikam/digikam/metadatahub.cpp#516

* This class do all main jobs relevant of image metadata :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp#257

* previous class is a derivate one from this wrapper around Exiv2 library :

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.h

Of course all sub level action in image metadata are done by Exiv2, but now you
have the scheme of code.

Gilles

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list