read bmp file from a folder item an get a picture.

How do I load a bmp file into an imagewell?
I would have liked to read it into a binarystream and then get the binary stream into a memory block then use Picture.FromData(data as MemoryBlock)
Just not sure how to convert a binarystream into a memory block

why do you need to load a binary stream into a memory block into an image well?
why not just load it directly?

  me.image=me.Image.Open(SpecialFolder.Desktop.child("test.bmp"))

should be

me.image=Picture.Open(SpecialFolder.Desktop.child("test.bmp"))

both work :slight_smile:

Thanks… Why do you think I saw neither of these solutions while walking through the methods of the ImageWell?

Because it is in the Picture methods : http://documentation.xojo.com/index.php/Picture.Open :wink: