NAME

Image::DB::Backend::GThumb - Perl module to acess image databases. This is the backend for GThumb databases. See the Image::DB::Backend manpage for details about using a backend.

The GThumb database stores meta data in a gzipped file. This comment file resides in a subdir .comments relativly to the image file. The file containes a xml structure:

<?xml version='1.0' encoding='utf-8'?>
<Comment format="2.0">
  <Place>A_STRING</Place>
  <Time>SECONDS_SINCE_EPOCH</Time>
  <Note>A_UNICODE_STRING</Note>
  <Keywords>A,COMMA,SEPARATED,LIST,OF,STRINGS</Keywords>
</Comment>

A hash manages the mapping of the Image::DB::File manpage object attributes to XML elements:

  %mapping = (
        "Date" => "Time",
        "Description" => "Note",
        "Place" => "Place",
        "Keywords" => "Keywords"
  );


SEE ALSO

the Image::DB::Backend manpage


FILES

~/.gnome2/gthumb


AUTHOR

Dirk Ruediger, <dirk@an-der-warnow.de>


COPYRIGHT AND LICENSE

Copyright (C) 2004-2005 by Dirk Ruediger

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8 or, at your option, any later version of Perl 5 you may have available.