I've got great problems solving the following problem:
I've got some high speed camera that comes with an c++ api and SDK.
There is an OnFrameCapture callback Function that returns a
C++ pointer to the starting point of some RAW Image data stored in unmanaged Memory
Now I want to
1) Get the Image
2) convert it to jpeg
3) save it to hard disk
- I know some header data of the image like size, bits/p, pitch...
- The Pointer is returned as UInt32
- I also know the byte structure in memory (RGB24 / RGB32 / ...)
My Program is in vb.net, but I could also include some c# code...
All my tries ended up between the marshal class, API memory functions, unsafe code...
Please help me! It's urgent! (code should work on sunday )
thx in advance
I've got some high speed camera that comes with an c++ api and SDK.
There is an OnFrameCapture callback Function that returns a
C++ pointer to the starting point of some RAW Image data stored in unmanaged Memory
Now I want to
1) Get the Image
2) convert it to jpeg
3) save it to hard disk
- I know some header data of the image like size, bits/p, pitch...
- The Pointer is returned as UInt32
- I also know the byte structure in memory (RGB24 / RGB32 / ...)
My Program is in vb.net, but I could also include some c# code...
All my tries ended up between the marshal class, API memory functions, unsafe code...
Please help me! It's urgent! (code should work on sunday )
thx in advance