[Digikam-devel] Re: GSOC 2011:Photo Frame Layouts

Gilles Caulier caulier.gilles at gmail.com
Wed Apr 6 07:37:55 BST 2011


2011/4/5 Lucas Spas <lukasz.spas at gmail.com>:
> I am looking through the code and the documentation of digiKam to find
> the best way to implement 'save/load' function in photo layout tool
> which allow user to save composition for edit in future.
> Lets think about possible situation when user creates composition,
> saves it into disk and closes layout tool. Next he/she moves images
> (which references was included in composition) in albums (so files are
> moving in physical directories) and then he opens previous saved
> composition. Is it possible to retrieve references to the images from,
> for example, digiKam database?

Each image in DB is referenced by an ID. Why not to checkout this
identification and host it to you presentation file ?

Look here for details :

http://api.kde.org/extragear-api/graphics-apidocs/digikam/html/classDigikam_1_1ImageInfo.html

This come from digiKam core of course. From kipi api, in case of you
make a kipi-plugins, look here :

http://api.kde.org/extragear-api/graphics-apidocs/digikam/html/classDigikam_1_1KipiImageInfo.html

Which is the kipi interface with digiKam image info. The base
information for on item from DB in this case is a KUrl.

Presentation file can be SGV data. It's easy to play with this format
using QT4 API.

Gilles Caulier



More information about the Digikam-devel mailing list