Hi!
I took sample
CLEyeWinFormsTest
It was Grayscale for some reasons (who needs grayscale?!). I decided to make it colored.
I did following steps:
1)
_camera = CLEyeCreateCamera(CameraUUID(0), CLEyeCameraColorMode.CLEYE_COLOR_RAW, CLEyeCameraResolution.CLEYE_VGA, 60);
2)
// allocate bitmap memory
_ptrBmpPixels = Marshal.AllocHGlobal(w * h * 4);
// create bitmap object
Bitmap bmpGraph = new Bitmap(w, h, w, PixelFormat.Format32bppArgb, _ptrBmpPixels);
And picture is empty. Is PS Eye output at this mode compatible with Format32bppArgb?
Thanks,
Andrey