<br><br><div><span class="gmail_quote">2007/6/17, Valerio Fuoglio &lt;<a href="mailto:valerio@ulteo.com">valerio@ulteo.com</a>&gt;:</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>&gt; 2007/6/15, Achim Bohnet &lt;<a href="mailto:ach@mpe.mpg.de">ach@mpe.mpg.de</a>&gt;:<br>&gt; &gt; On Friday, 15. June 2007, Valerio Fuoglio wrote:<br>&gt; &gt; AFAIU digikam uses the freedesktop standard for thumbnails.
<br>&gt; &gt; And that&#39;s the right way to go ;)<br>&gt;<br>&gt; Well, this will add a depencies to digiKam as well.<br><br>Sorry GIlles, maybe I&#39;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>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; Remember than when kipi-plugins project has been created from old<br>&gt; DigikamPlugins, the source code used digiKam thumbnails KIO slave.<br>&gt;<br>&gt; A discussion between with Renchi have been concluded to remove this depency
<br>&gt; and use KDE thumbnails KIO slave instead.<br>&gt;<br>&gt; Also, the way to get image thumbnail is different from host. For ex.<br>&gt; 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&#39;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&#39;s thumbnail&#39;s path. The host application should get tumbnail<br>by itself.<br>
<br>&gt; 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&#39;s enought...
<br><br>What do you think about ?<br><br>Gilles<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; Gilles<br><br>Cheers<br>Valerio
<br><br>--<br>Valerio Fuoglio &lt;<a href="mailto:valerio@ulteo.com">valerio@ulteo.com</a>&gt; - <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>