How can i create a Bitmap from a rawbuffer-BYTE* (from framegrapper).
I do following:
Bitmap *myBit2 = new
Bitmap(wImage,h Image,wImage*si zeof(BYTE),Pixe lFormat::Format 8bppIndexed
,(IntPtr)pbyteB uffer);
pictureBox->set_Image(myBi t2 );
the Bitmap were not correct displayed
MFC
Soja
I do following:
Bitmap *myBit2 = new
Bitmap(wImage,h Image,wImage*si zeof(BYTE),Pixe lFormat::Format 8bppIndexed
,(IntPtr)pbyteB uffer);
pictureBox->set_Image(myBi t2 );
the Bitmap were not correct displayed
MFC
Soja
Comment