Hi,
I am writing an application in PyQt which draws the MandlebrotSet fractal. If i use pure python the rendering of a 500x500 matrix takes approximately 20 secSo i wrote a C DLL which does the computations for 1 sec at most and saves the data in an array(char / int / void *, whatever you like). My question is how can i transfer the data from the array to a QImage object without iterating over each pixel i.e. how can i copy the whole block of data from the array to the QImage object.
Also, if you have better ideas for faster computation, I'll be very thankful![]()
Bookmarks