xion
Member
Ive got great problems solving the following problem:
Ive 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! Its urgent! (code should work on sunday
)
thx in advance
Ive 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! Its urgent! (code should work on sunday
![Eek! :o :o](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f631.png)
thx in advance
Last edited by a moderator: