[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    RE: [Kde-bindings] Qt vs Windows Icons
From:       "Martin Welch" <martin () welch ! eclipse ! co ! uk>
Date:       2004-06-29 7:25:54
Message-ID: GIEKKMAAMELBNKEJJKHGAEKJDAAA.martin () welch ! eclipse ! co ! uk
[Download RAW message or body]

It's a bit more complicated than that.

I'm programatically trying to extract an icon resource from a .NET assembly
and use P/Invoke to call C/C++ Qt code to create a pixmap/QImage?/QIcon?
from the icon byte stream.

Or something like that :)

-----Original Message-----
From: Dhek Bhun Kho [mailto:bhun@chello.nl]
Sent: 28 June 2004 23:20
To: KDE bindings for other programming languages
Subject: Re: [Kde-bindings] Qt vs Windows Icons


Hi Martin,

Do you want to convert the windows icon resource to a PNG image? If so,
I would just go with 'convert' from http://www.imagemagick.org (they
changed names a few months ago, but the site is still running).

convert windows.ico window.png

You can control the bit-depth with '-depth' (see the man page).

Martin Welch wrote:

>Hi,
>
>I've spent a few fruitless hours trying to find a way of converting a
>windows icon to a format suitable for Qt. I somehow need to convert an .ico
>structure to a pixmap structure but I'm struggling.
>
>Any suggestions?
>
>Martin
>
>_______________________________________________
>Kde-bindings mailing list
>Kde-bindings@kde.org
>https://mail.kde.org/mailman/listinfo/kde-bindings
>
>
>

_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings

_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic