S
Soja
How can i create a Bitmap from a rawbuffer-BYTE* (from framegrapper).
I do following:
Bitmap *myBit2 = new
Bitmap(wImage,hImage,wImage*sizeof(BYTE),PixelFormat::Format8bppIndexed
,(IntPtr)pbyteBuffer);
pictureBox->set_Image(myBit2 );
the Bitmap were not correct displayed
MFC
Soja
I do following:
Bitmap *myBit2 = new
Bitmap(wImage,hImage,wImage*sizeof(BYTE),PixelFormat::Format8bppIndexed
,(IntPtr)pbyteBuffer);
pictureBox->set_Image(myBit2 );
the Bitmap were not correct displayed
MFC
Soja