[wxPython-users] Alpha Channel not supported by Imagelist?
Robin Dunn
robin at alldunn.com
Fri Jun 22 09:56:50 PDT 2007
Peter Meier wrote:
> Hi!
>
> I have a Problem with .png files with an Alpha Channel in an wx.Imagelist...
>
> Here is a small test script that shows the Problem:
> http://pastebin.com/934049
> Here is the test.png I used (please rename it to test.png):
> http://img207.imageshack.us/img207/8416/testan4.png
>
> I added the Image twice to a Menu. One time directly, and one time with imagelist.GetBitmap().
> But it only works if I use wx.MenuItem.SetBitmap()...
>
> Have you an idea? Did I make a mistake or is this a bug?
If I remember correctly the native image list on Windows only preserves
masks, not alpha. It may still be a bug though if I'm not remembering
correctly. Please enter a bug report about it, with a category of
"wxMSW Specific".
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list