Maybe this works (on top of my head):
Pic = New Picture(MainWindow.Canvas1.Width,MainWindow.Canvas1.Height,32))
Pic = Picture.FromData(MB))
Canvas1.Backdrop = Pic
If its just a bunch of bytes representing the grey scale values then this should work (as Christian mentions above), but without a test image this is just a guess, feel free to PM me the image if this doesn't work.
Thanks for the Idea Julian.
Unfortunately, the picture that has to be shown on a imagewell is currently sits on a object called rawImage_param which is shown below.
Could I ask you to make a rawImage file that says something like "Hello World" and post it for a few of us to download and determine the structure of the image for you? Like Julian mentioned, without an example image, its really difficult to determine the format to convert the image.
I don't want data from a picture of your fingerprint, since this is personal data :)
If you put the following in your code, what do you see on the debug output:
How many rows are there in the data?
What is the width and height of the image from the data shown above or is there nothing to indicate that?
Who wrote your Xojo win app, do you have access to the source code of it?