[wxPython-dev] 2.8.7.0 coming soon
Peter Damoc
pdamoc at gmail.com
Wed Nov 14 04:33:58 PST 2007
Robin,
I have one small request if is not too late...
could you please make it so that wx.BitmapFromBufferRGBA could take only
width and height and if the bytes are missing create an empty buffer in C++
Or maybe create a wx.EmptyBitmapRGBA that does just that.
your
def EmptyBitmapRGBA((width, height)):
bytes =3D array.array('B', [0] * width*height*4)
return wx.BitmapFromBufferRGBA(width, height, bytes)
solution suggested some time back is wonderful, better than manually setting
the alpha of every bit BUT the creation of the array is insanely SLOW....
i.e. for a buffer of (850, 564), that I need, it take 300 ms...
Thank you in advance.
Peter.
On Nov 13, 2007 8:03 PM, Robin Dunn <robin at alldunn.com> wrote:
> Hi all,
>
> wxPython 2.8.7.0 will be coming soon, so if you have any updates to
> contribs, or new contribs to make, now is the time to get them into the
> repository or sent to me.
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-dev-help at lists.wxwidgets.org
>
>
-- =
There is NO FATE, we are the creators.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-dev/attachments/20071114=
/6cc4a53f/attachment.htm
More information about the wxpython-dev
mailing list