[Digikam-devel] Image history in metadata

Gilles Caulier caulier.gilles at gmail.com
Fri Jun 11 18:08:03 BST 2010


2010/6/11 Marcel Wiesweg <marcel.wiesweg at gmx.de>:
>
>> You said that image history will be a QString. I think that we wil
>> format XML data directly in digiKam. It's definitively a wrong way.
>> You must delegate this point to libkexiv2/Exiv2
>>
>> Indeep, in digiKam core, the image history will be something like a
>> QMap container, used to discribe :
>>
>> - the image revision.
>> - the tool used to change image.
>> - the tool settings.
>
> We are indeed using XML formatted directly in digikam. The purpose of this XML
> creation is not primarly for storing this in the metadata, but rather as a
> specified format that can describe the changes, slightly inspired by
> OpenRaster's XML. We can add attributes to all nodes and extend it in the
> future.
> The XML will also be used in other places, and it's a bit more complex than a
> simple map, which would be too limiting. We will also store the XML in the
> database.
>
> So far I did not think about the implication that XMP is also based on XML,
> and we now have the purpose of storing XML in XML. Hm.
> So we either really store it as a string, or we try to integrate it into XMP.
> Is XMP flexible enough to carry a custom chunk of xml?

This is a good question to ask to Andreas.

But i remember some problem to experiment something like this in the
past with XML and XMP.

I recommend to take a care about.

Gilles



More information about the Digikam-devel mailing list