I'm looking for an example of how to save images to disk fast. My application calls for saving 4 images per second for 5-10 minutes but writing each image to a file takes too long. Is there a way to write images to an array and sending the array to disk while the acquisition is going on? Can I allocate buffer for this and how do I do that?