s********z 发帖数: 5411 | 1 Hello, I am new to C++ and MFC and was trying to create a true color bmp
from R,G,B channel images and display it. Now I have three band images Rband
[width][height], Gband[width][height], Bband[width][height]. All three bands
are 1 byte 2-D array and are known. Now I am wondering how to I fill the
memory pic allocated below to be able to display the image.
struct
{
BITMAPINFOHEADER bih;
unsigned long Colors[256];
}
bilutc; // current BITMAPINFO with LUT values
if(bC |
|