<br><br><div><span class="gmail_quote">2007/6/15, Achim Bohnet <<a href="mailto:ach@mpe.mpg.de">ach@mpe.mpg.de</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, Valerio Fuoglio wrote:<br>> Hi to all,<br>><br>> for Slideshow, I want to add images' thumbnails next to their name (in the<br>> list box), but I haven't found a way to do it lightly (load every preview
<br>> with KIO::filePreview is really heavy -- try with 92 images ;) ).<br><br>Would be a preview only of the currently selected image<br>a good compromise? (as in preview of the kde file dialog box)<br><br><br>> libkipi doesn't offer this possibility, am I wrong?
</blockquote><div><br>yes, there is no method for that.<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;">><br>> If not, wouldn't it be great if libkipi takes host app's thumbnails or, if
<br>> they doesn't exist, create its ones?<br><br>As the thumbnails are very probable already in memory<br>it would be nice. (Especially if the image could be<br>shared.)</blockquote><div><br>At least, the image are in HDD cache with digiKam following freedesktop spec. This one is shared with others applications witch can use it (Konqueror for ex.)
<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;">> I'm looking at kio_digikamthumbnailProtocol [1], something like this should be
<br>> a good solution.<br><br>AFAIU digikam uses the freedesktop standard for thumbnails.<br>And that's the right way to go ;)<br></blockquote></div><br>Well, this will add a depencies to digiKam as well.<br><br>Remember than when kipi-plugins project has been created from old DigikamPlugins, the source code used digiKam thumbnails KIO slave.
<br><br>A discussion between with Renchi have been concluded to remove this depency and use KDE thumbnails KIO slave instead.<br><br>Also, the way to get image thumbnail is different from host. For ex. gwenview do not use KIO slave, but digiKam yes.
<br><br>I vote to add a new method in libkipi to get image thumbnails from host.<br><br>Gilles<br>