sesenmaister
2014-05-12 11:21:04 UTC
There are already a dozen alpha channel related open bugs in the database:
http://tinyurl.com/yuspj9
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.
http://tinyurl.com/yuspj9
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.
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.