Hello. I'd like adding an icon in a wxframe, but it always says to me
"DIB Header: Image width > 32767 pixels for file".
My icon is 32x32 pixels, and I don't know why is this message. If I add
an icon from my system (from boa, or whatever .ico), it's adding ok.
What is it wrong?
consider providing:
- platform
- wxPython version
- python versiom
and if possible a small application that demonstrates you problem.
···
On Tue, 08 Mar 2005 16:22:39 +0200, lachata <lachata@gmail.com> wrote:
Hello. I'd like adding an icon in a wxframe, but it always says to me
"DIB Header: Image width > 32767 pixels for file".
My icon is 32x32 pixels, and I don't know why is this message. If I add
an icon from my system (from boa, or whatever .ico), it's adding ok.
What is it wrong?
Why are you using .ico files? have you tried using a .png? how are you adding the .ico files to the frame?
are you using a wx.StaticBitmap ?
As I said... try providing a small app... this way we'll have more info on what are you trying to do and why it doesn't work.
as a side note... Ubuntu just went into features freeze for Hoary so you could try it, is stable enough you'll find one of newer 2.5 series wxpythons in its universe.
···
On Tue, 08 Mar 2005 17:20:12 +0200, lachata <lachata@gmail.com> wrote:
El mar, 08-03-2005 a las 16:53 +0200, Peter Damoc escribió:
On Tue, 08 Mar 2005 16:22:39 +0200, lachata <lachata@gmail.com> wrote:
> Hello. I'd like adding an icon in a wxframe, but it always says to me
> "DIB Header: Image width > 32767 pixels for file".
> My icon is 32x32 pixels, and I don't know why is this message. If I add
> an icon from my system (from boa, or whatever .ico), it's adding ok.
> What is it wrong?
>
> Thanks.
The platform is gnu/linux, ubuntu warty. I'm working with
boa-constructor 0.2.8, python 2.3.4 and wxpython 2.4.
When I insert a boa icon (32x32 pixels, 766 bytes, .ico), for example,
it's adding ok, but not with my icons (I do them with the same pixels
and change the image format to .ico with gimp). I'd like to know if it's
necesary another specification to make an icon...