Topic: Accessing image buffer in Appgraphics
I would like to produce fast calculations of bitmap graphics, e.g. high resolution mandelbrot set (2500 x 2000 pixels).
I manage to do this by calling putpixel(px,py,creatergb(ih,ih,ih)) for each point. However, this is very slow bcause every putpixel is essentially a call to the windows GDI system.
Logically there must be a way to define an image buffer
call allocateimage(iarr, 2500, 2000)
manipulate, access iarr(x,y)
How does one access the image buffer?