How can I construct images using HTML markup? -


Using Microsoft's HTMLDocument object, I need to display reports and things in HTML.

Unfortunately, you can give document HTML markup, but you can not give it images. It is only capable of displaying images from the URL such as:

  • http: //
  • File: //
  • res: / /

I understand that I can create an image using HTML markup, pixel-by-pixel.

Is there any work in this area? Should it be positioned exactly 1x1 colored span? A 350x200 table, with one-pixel in both sizes of rows and columns?

Can you use it now?

IE8 supports this (as the newest browser); Your images will look like this:

  & lt; Img src = "data: image / png; base64, A0123 ... ==" & gt;  

Where A0123 ... is a representation of the corresponding image file. Depending on the language you are using, you can take advantage of a lot of work for yourself.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -