Revision 720609

Go back to digest for 7th October 2007

Features in Graphics

Gilles Caulier committed changes in /trunk/extragear/graphics/digikam:

digiKam from trunk (KDE4) : XMP metadata management with database.

This is the first stage to control XMP metadata contents with Database contents and vis versa. This code handle XMP with current Database schema witch still the same than 0.9.x.

Marcel work currently on the new databse schema describe on the OpenOffice document available at this url :

<a href="http://websvn.kde.org/trunk/extragear/graphics/digikam/DBSCHEMA.ODS?view=log">http://websvn.kde.org/trunk/extragear/graphics/digikam/DBSCHEMA.ODS?view=log</a>;

The code will be adapted later by Marcel to handle more XMP tags according with this new schema.

This is the list of current changes :

- Preparing code to handle strings hosted in different languages (comments for example, dixit B.K.O #98462).
- Handle all Xmp.exif and Xmp.tiff tags has Exif metadata content to get photo informations set by camera.
- Do not set Iptc.Urgency tag with Rating value, but use standard Xmp.Rating tags instead. Import of Iptc.Urgency
as Rating still running if Xmp metadata are not available. (B.K.O: 134206).
- Preparing code to handle Xmp strings set different authors(comments for example, dixit B.K.O #134476).
- Set the Tags name as Xmp.subject (keywords).
- Set the Copyright/Authors information in Xmp tags (schema inspired from Adobe Photoshop 7.0).
- Store Tags Path List into a dedicaced digiKam.org Xmp namespace as a sequence of strings. Do not use Iptc.Keywords for that. Import from Iptc still running if Xmp metadata is not available. This way is very important to restore properlly in database all tags assigned to an imported picture. There is not strings size limitation with Xmp and char encoding is always UTF-8. Nothing will be lost now.
- Xmp is always stored in pictures format witch support this metadata format : jpeg, png, and tiff.

All these changes require to update libkexiv2 and Exiv2 from trunk to compile and run digiKam properlly.

File Changes

Modified 4 files
  • /trunk/extragear/graphics/digikam
  •   /digikam/metadatahub.cpp
  •   /libs/database/collectionscanner.cpp
  •   /libs/dmetadata/dmetadata.cpp
  •   /libs/dmetadata/dmetadata.h
4 files changed in total