There are already a dozen alpha channel related open bugs in the database:
But I see that there are no new topics in about 2 years, and wxpython 3.0.0 was shipped half year ago.
My case is When in a wx.MemoryDC() painted of some color, I draw an alpha-bitmap over:the DrawBitmap action makes disappear the previous color, no matter the size of the bitmap drawed upon.
In my case, It Fails/Works:
DOES WORK with : WXMAC (3, 0, 0, 0, ‘’) wx.VERSION
: WXMSW (2, 8, 12, 1, ‘’)
: WXGTK (2, 8, 12, 1, ‘’)
DOESNT’ WORK with : WXMSW (3, 0, 0, 0, ‘’)
I’ve tried to import the image from PIL to try preserving the alpha using the ImageConversions methods. But same result.
So my question is…
- Cannot we trust using Alpha in a wx.MemoryDC ?
- Am I doing something from Tutankhamon era and should steadly change my habits into new ones?
P.D. Working example attached.
test_DrawBitmap.py (2.8 KB)
ImageConversions.py (5.45 KB)