Hi
I've difficulties of optimisation, i do this :
1) I use de wxscreendc and wxbufferdc to capture the screen.( 2ms )
2) I convert the wxbitmap to wxImage, ( image = bitmap.ConvertToImage() ) (
it takes 250 ms !! )
3 ) I convert the wximage to numarrau, ~5 ms
The step 2 takes too long time, do you know a way to reduce the execution time ?
Thanks
-CuMu
Hi
Sorry but i not understand your answer.
Why "not currently" ?
Thanks
Robin Dunn a écrit :
···
FORTIN Nicolas wrote:
Hi
I've difficulties of optimisation, i do this :
1) I use de wxscreendc and wxbufferdc to capture the screen.( 2ms )
2) I convert the wxbitmap to wxImage, ( image = bitmap.ConvertToImage() ) (
it takes 250 ms !! )
3 ) I convert the wximage to numarrau, ~5 ms
The step 2 takes too long time, do you know a way to reduce the execution time ?
Not currently.
Robin
4
FORTIN Nicolas wrote:
Hi
Sorry but i not understand your answer.
Why "not currently" ?
I just meant that there may be a more efficient way to access wxBitmap data in the future.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!