04-14-2021 04:30 AM
Hello,
I am using a camera that captures an image and returns an unsigned char array. How can I show that data on a panel control on the UIR? I have attached the code that leads to the capture of the array.
The array that stores the data is :
unsigned char *pBuffer= (unsigned char *) malloc(lBuffSize) ;
How do I show the data in this array as an image?
Solved! Go to Solution.
04-14-2021 05:44 AM
You can try passing your array to SetBitmapData () or SetBitmapDataEx(), but you will need some additional informations from the camera producer to build up the final image. Look into the function help to understand what you are expected to pass to the function.