[wxPython-users] a wish

FORTIN Nicolas fnicolas_tiscali at apinc.org
Wed Jul 26 02:25:46 PDT 2006


Christopher Barker a écrit :
> FORTIN Nicolas wrote:
>> wxbitmap.getData()
>>
>> There is now wximage.getdata() but not the same with wxbitmap !
>>
>> Make this method would reduce my execution time from 0,23 s to 0,03 s !
>>
>> (because only wxbitmap.ConvertToImage()  take 0.2 s to execute )
>>
>> Where can I ask the development team to create wxbitmap.getData() for 
>> the next version of wxPython ?
>
> The trick is that wx.Bitmap is an abstraction around the system native 
> Bitmap that can be a wide variety of formats. That being said, here's 
> a note from Robin on this subject from a month or so ago:
>
>> In C++ there are some template classes/functions that can facilitate 
>> access to the platform specific data within a wxBitmap in an 
>> efficient way.  I plan on working on getting those wrapped for 
>> wxPython after I finish a few other things, but I'm not sure how much 
>> of that efficiency I'll be able to preserve.
>
> So you may have your wish soon.
>
> -Chris
>
>
>
>
Ok thank Chris

I will waiting then

-Nicolas from France







More information about the wxpython-users mailing list