[wxPython-dev] 2.8.7.0 coming soon
Peter Damoc
pdamoc at gmail.com
Wed Nov 14 23:10:50 PST 2007
:) It works on Windows so... I'm satisfied :)
Thank you.
One small curiosity... why was Editra selected to be included ? I never
heard of this project until I read about it in the preview description.
Why not PyPE or Peppy?
Peter.
On Nov 15, 2007 3:07 AM, Robin Dunn <robin at alldunn.com> wrote:
> Peter Damoc wrote:
> > 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...
>
> Does wx.EmptyBitmap(width, height, 32) work? It should create a RGBA
> bitmap, but the content may not be initialized on all the platforms...
>
>
> --
> 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/20071115=
/cc457186/attachment.htm
More information about the wxpython-dev
mailing list