βοΈ RFC 2397 Data URI Scheme & Binary-to-ASCII Base64 Encoding
Every external `<img src="icon.png">` tag forces the browser to open a separate HTTP/TLS request-response cycle before painting the pixel. The IETF RFC 2397 `data:` URI scheme solves this for micro-assets by inlining the image's binary stream directly inside the HTML document or CSS stylesheet as a Base64 ASCII string.
DH Tools encodes PNG, SVG, WebP, JPEG, and GIF files into compliant Data URIs in local browser RAM and generates ready-to-paste HTML `<img>` and CSS `background-image` snippets.
π Technical Specifications & Architecture
| Standard | IETF RFC 2397 (Data URI) & RFC 4648 (Base64) |
|---|---|
| Supported Inputs | PNG, SVG, JPG, WebP, GIF, ICO |
| Output Snippets | Raw Data URI, HTML <img> Tag, CSS url() |
| Overhead Ratio | 4 ASCII Chars per 3 Binary Bytes (~133%) |