[Digikam-devel] Image history in metadata

Marcel Wiesweg marcel.wiesweg at gmx.de
Fri Jun 11 18:54:42 BST 2010


> 
> 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.

Some example XML (specs not fixed yet, just to give an idea):

<history>
	<file type="raw">
		<filename>pict1234.nef</filename>
		<originaluuid>asdf-1234-ghjk-5678-tzui</originaluuid>
		<creationdate>2010-05-05.16:23:56</creationdate>
	</file>
	<filter name="digikam:rawimport" version=1 category="reproducible">
		<description>"Manual Raw import"</description>
		<param name="interpolationMethod">Bilinear</param>
		... // many more params
	</filter>
	<file type="intermediate">
		<filename>pict1234-1.jpg</filename>
		<fileuuid>ertz-3456-sdfg-1234-fghj</fileuuid>
	</file>
	<filter name="digikam:crop" version=1 category="reproducible">
		<param name="rect" x="10" y="10" width="90" height="40" />
	</filter>
	<file type="current">
		<filename>pict1234.jpg</filename>
		<fileuuid>dfgh-4567-2345-rtzu</fileuuid>
	</file>
</history>





More information about the Digikam-devel mailing list