I need help to create a Bitmap picture.
The situation is like this:
I am loading in an array with 16 bit values. Each of these values represent the color of one pixel. Each array represents one line of a bitmap image. And then I loop the program so that in the end, a whole picture is created on the screen.
My problem is, what kind of API functions can I use to do this?
I have looked at SetPixel() and Bitmap constructor, but I don't understand the whole process.
Can anyone give me some tips?
I'm using C++ in MFC.
Hoping for a reply