[Kde-bindings] Qt vs Windows Icons

Martin Welch martin at welch.eclipse.co.uk
Tue Jun 29 07:25:54 UTC 2004


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 at 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 at kde.org
>https://mail.kde.org/mailman/listinfo/kde-bindings
>
>
>

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




More information about the Kde-bindings mailing list