Submitting this form generates standards-compliant XHTML, CSS and JavaScript source code that lets you embed small images in your web pages - without the need for externally linked image files. Code is generated in TWO formats:

  1. As an <img src="data:image/...;base64,..." attribute (see RFC 2397) - supported by most modern browsers, with the notable exception of Internet Explorer...
  2. To address this shortcoming, Huffman encoded, Run-Length-Encoded - i.e., compressed - data is also included, along with the JavaScript to decode it in a user's (possibly non-IE) browser.

Examples of such embedded images MIGHT - depending on your browser/configuration - be visible at the bottom of this page.

This software is FREE to use, copy and adapt - AT YOUR OWN RISK...


Upload your image...
Info:

Input: 330 x 171 = 56430 px; truecolor; 13100 bytes (file);
Output: 192 x 100 = 19200 px; 144 colours; 17491 bytes (data url); 18114 bytes (jsimg data);
(jsimg decoded in ???? msec)

Preview: embedded image from data url
HTML source:

Valid W3C XHTML 1.0 Valid W3C CSS Level Double-A conformance icon,
 W3C-WAI Web Content Accessibility Guidelines 1.0 Script version 2006-12-06 ddzoom.net/jsimgs