I'm trying to write simple program to get image from astronomy camera, image data is read as object{int[,]} according to this doc: ASCOM.DriverAccess.Camera.ImageArray
To display and convert this data to image I want to convert it to 2D int array. Could someone help me how to do this? Or maybe it's better, simpler way to convert this image object array to image...
What you seemingly have is a
SafeArray.You may be able to do this
Note : I have not tested this, nor confident it will work, it's based on a result I found with a quick web search