Exporting CVB images to stream/buffer

Hi all

Our software produces a data file in a streaming fashion in which we save a series of images among other things. It is therefore necessary for us to export the images acquired through CVB as bmp images or similar image format that can be read by other software (without a dependency on CVB).

We have noticed that there is a function WriteImageFile, which writes the image with complete headers to disk.
However, since the function writes the data directly to a file given by name, it is too limited for our purposes. The images need to be passed around within the program and eventually written as part of this combined data file so what we are looking for is a way to export the same data but into a buffer in memory.

Any help with how to do that is much appreciated.

Hi @ChristianGE
you can use LinearAccess to get the actual data behind the image and then either write this into an array for forther processing or copy it to another image.
Also there should be a CVWebstreaming.dll in your CVB installation if all you want to do is stream converted image data:

CVB Webstreaming doc

Cheers
Chris