[Kde-imaging] Get images' thumbnails

Valerio Fuoglio valerio at ulteo.com
Mon Jun 18 18:46:48 CEST 2007


On Sunday 17 June 2007 09:48:21 Gilles Caulier wrote:
> 2007/6/17, Valerio Fuoglio <valerio at ulteo.com>:
> > Sorry GIlles, maybe I've lost something... which are these dependencies?
>
> The depency to digiKam thumbnail KIO slave of course (:=))). Are you take a
> look about link to mailing list archive that i have added in this thread ?

Yes, I've read :)
Is there any possibility to drop this dependency? (integrating that code in 
libkipi)

> We need 2 virtual methods witch will be re-implemented by hosts :
>
> - one to extract album thumbnails (supported by digiKam database) : virtual
> QPixmap ImageInfoShared::thumbnail();
>
> - one other to extract image thumbnails : virtual QPixmap
> ImageCollectionShared::thumbnail();
>
> Image thumbnails extraction method must provide the KDE thumbnail
> extraction by default (witch you use in SlideShow). Hosts re-implement
> these methods accordinly with the way used internally (digiKam for ex. has
> a thumbs cache manager).
>
> 2 Host categories must be added : SupportAlbumThumbnail and
> SupportImageThumbnail. Look libkipi/interface.h.
>
> The methods must be generic. No need to bloat api about thumbnail url. I
> think than methods must just return a QPixmap. It's enought...
>
> What do you think about ?

Yes, for me it sounds good :) Great :)

> Gilles

Cheers,
Valerio
-- 
Valerio Fuoglio <valerio at ulteo.com> - http://www.valeriofuoglio.it
KIPI Plugins - http://www.kipi-plugins.org 
Ulteo - http://www.ulteo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20070618/09de840c/attachment.pgp 


More information about the Kde-imaging mailing list