Review Request: Add thubnail support for Microsoft Windows executables and images

Pali Rohár pali.rohar at gmail.com
Tue Sep 15 11:40:05 BST 2009


I have linux and this thumbnailer works fine with or without wine.

I dont know if icoutils is for windows (without cygwin). Icoutils use autoconf and automake and without icoutils thumbnailer is possible compile, but it doesnt work.

-- 
Pali Rohár
pali.rohar at gmail.com

On Po 14. September 2009 22:51:36 David Faure wrote:
> On Monday 14 September 2009, Ralf Habacker wrote:
> > Pali Rohár schrieb:
> > >> On 2009-09-14 16:05:40, David Faure wrote:
> > >>> Converting a .ico to a .png can be done with Qt's .ico support, no?
> > >>> But since extracting icons from an .exe needs these icotools anyway,
> > >>> this wouldn't allow dropping the dependency, it would just make the
> > >>> ico-to-png conversion faster, I guess.
> > >
> > > Convert ico to png is in QImage bad. Qt only get first picture from ico
> > > file, but ico file can have more pictures. Then first picture is 16x16
> > > second 32x32, ... so in Qt is still smallest icon (and 16x16 is very
> > > small).
> > 
> > There is an extended qt ico file handler in
> > http://websvn.kde.org/trunk/kdesupport/kdewin/tools/png2ico/, so it may
> > be possible to use this code. [1]
> > 
> > > With program icotool, I can extract largest icon (it is implemented in
> > > this patch), not only first.
> > 
> > If [1] is not usable or is currently too much work I suggest to add the
> > icotool to  the kdewin package
> > http://websvn.kde.org/trunk/kdesupport/kdewin/tools/, which contains
> > already similar tools.
> 
> But this thumbnailer should work on linux too, shouldn't it?
> When browsing windows partitions.
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090915/f05c9a72/attachment.sig>


More information about the kde-core-devel mailing list