<br><br><div><span class="gmail_quote">2007/6/17, Valerio Fuoglio <<a href="mailto:valerio@ulteo.com">valerio@ulteo.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Friday 15 June 2007 11:37:50 Gilles Caulier wrote:<br>> 2007/6/15, Achim Bohnet <<a href="mailto:ach@mpe.mpg.de">ach@mpe.mpg.de</a>>:<br>> > On Friday, 15. June 2007, Valerio Fuoglio wrote:<br>> > AFAIU digikam uses the freedesktop standard for thumbnails.
<br>> > And that's the right way to go ;)<br>><br>> Well, this will add a depencies to digiKam as well.<br><br>Sorry GIlles, maybe I've lost something... which are these dependencies?</blockquote><div>
<br>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 ?<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Remember than when kipi-plugins project has been created from old<br>> DigikamPlugins, the source code used digiKam thumbnails KIO slave.<br>><br>> A discussion between with Renchi have been concluded to remove this depency
<br>> and use KDE thumbnails KIO slave instead.<br>><br>> Also, the way to get image thumbnail is different from host. For ex.<br>> gwenview do not use KIO slave, but digiKam yes.<br><br>I can think two ways to do it :
<br>1) Create different ways to get thumbnail : using a way X for digikam -- and<br>others that follow freedesktop's standard --, a way Y for gwenview, a way T<br>for another program, and so on... obviously there would be only one libkipi
<br>method to do all this stuff. ;)<br>2) Require the thubnail to the host application (maybe by its path) and obtain<br>a qpixmap or it's thumbnail's path. The host application should get tumbnail<br>by itself.<br>
<br>> I vote to add a new method in libkipi to get image thumbnails from host.<br><br>I completely agree. :)</blockquote><div><br>We need 2 virtual methods witch will be re-implemented by hosts :<br><br>- one to extract album thumbnails (supported by digiKam database) : virtual QPixmap ImageInfoShared::thumbnail();
<br><br>- one other to extract image thumbnails : virtual QPixmap ImageCollectionShared::thumbnail();<br><br>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).
<br><br>2 Host categories must be added : SupportAlbumThumbnail and SupportImageThumbnail. Look libkipi/interface.h.<br><br>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...
<br><br>What do you think about ?<br><br>Gilles<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> Gilles<br><br>Cheers<br>Valerio
<br><br>--<br>Valerio Fuoglio <<a href="mailto:valerio@ulteo.com">valerio@ulteo.com</a>> - <a href="http://www.valeriofuoglio.it">http://www.valeriofuoglio.it</a><br>KIPI Plugins - <a href="http://www.kipi-plugins.org">
http://www.kipi-plugins.org</a><br>Ulteo - <a href="http://www.ulteo.com">http://www.ulteo.com</a><br><br>_______________________________________________<br>Kde-imaging mailing list<br><a href="mailto:Kde-imaging@kde.org">
Kde-imaging@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-imaging">https://mail.kde.org/mailman/listinfo/kde-imaging</a><br><br><br></blockquote></div><br>