Another question :)
The header file gives a description for getImageData:
// wait waitms capture a single frame -1 means wait forever, success return true, failed return false
bool getImageData(unsigned char* buffer, int bufSize, int waitms);
What is the purpose of the bufSize parameter? I know what resolution/RoI and image type I have requested and can calculate the size of the buffer accordingly. The SDK has the same information and therefore knows how large the buffer for a single frame should be. So why pass that information as a parameter here? It doesn't make sense to me that I should want to request part of a frame, so is this intended to allow multiple frames to be collected in one function call? But if that were the case, why not just give the number of frames you require?
Or is the size just there to set a limit on the amount of data returned? For example, "give me this much data or less depending on the frame size, but no more". But if there's no return value to give the amount of data stored, how is that useful? I'd still have to know the frame size, so I can make sure the buffer is big enough.
James