I don't believe that you can use images from memory. You'll need to save them to the hard drive, even temporarily. The you have to reference them in your HTML something like this:
<img alt="An image" src="file:///C:/Images/Image.jpg" width="400" height="400" />