How to use bitmaps

Sorry for the dumb question, but I've been reading from platform SDK for hours but still cannot solve this problem: I have an array of RGB values and I want to create a 24-bit bitmap. Then, I want to do the reverse: from a 24-bit bitmap I want to get an array of RGB values. Every way I tried I get some error: is there any example

Thank you,
Ignazio


Answer this question

How to use bitmaps