I’ve a camera that comes with an c++ api and SDK.
There is an callback Function that returns a
C++ pointer to the starting point of some RAW Image data stored in Memory
I want to
1) Get the Image
2) convert it to some image format
3) save it to hard disk
pointer is char*
How can I do it in VC++.
Thanks.
EDIT:
reposted question here:
https://stackoverflow.com/questions/10826313/reading-image-from-memory-and-painting-it-in-a-vc-mfc-application
Investigate OpenCV to convert the image to some format and then save it on the disk.
You might want to take a look at this post as well.