I want to know how to load .bmp files into a two dimensional array of rgb pixels (NOT FOR OPENGL USE). Thanks
The only way I know how to do that is manually using GetPixel..
void GetPixel(HDC hdc, int x, int y);
I aint smart nuff to roll my own bitmap loading code yet, I just use LoadImage()...
Log in to post a comment.
I want to know how to load .bmp files into a two dimensional array of rgb pixels (NOT FOR OPENGL USE). Thanks
The only way I know how to do that is manually using GetPixel..
void GetPixel(HDC hdc, int x, int y);
I aint smart nuff to roll my own bitmap loading code yet, I just use LoadImage()...