Drawing picture from pixels in window
-
I have picture in array of pixels (8 bit gray) I know width and hight of picture and position of pixels in picture .I would like to transfer this 8 bit value to some buffer and in one moment to show the picture on the screen(window).I would like to have this code so fast as possible. Can someone help me? Thank you.
-
I have picture in array of pixels (8 bit gray) I know width and hight of picture and position of pixels in picture .I would like to transfer this 8 bit value to some buffer and in one moment to show the picture on the screen(window).I would like to have this code so fast as possible. Can someone help me? Thank you.
Lookup the Windows GDI BitBlt function (there's a CDC version too). This will draw a bitmap onto a destination device at high speed. Dave