Here is situation:
I want to create HTML document with embeded image something like this:
<html>
<head>
</head>
<body>
<img src="?" />
</body>
</html>
Where “?” could somehow point to embeded image data. Maybe if javascript could decode base64 string generated by .net it could get me closer to my goal…
This document is generated on the fly and submited to document system. So I can not use any external link to the image using LinkedResource.
You should check out the MHTML format. It is used to combine HTML with embedded resources.
http://en.wikipedia.org/wiki/MHTML
Make sure to take a look at the browsers supporting the format.