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.