Embed a local image as a data URI
abox_image_data_uriEncode local image bytes into a .txt data URI, CSS rule, HTML tag or Markdown image, using signature-based type detection and byte-preservation checks to keep source bytes intact.
Instructions
Encode original image bytes into a new local .txt data URI, .css rule/custom property, .html image tag or .md image. Uses signature-based type detection and verifies byte preservation. Standalone UTF-8 SVG URIs can use percent encoding; SVG embedding shapes use Base64 to preserve bytes through their syntax. Keeps source metadata and SVG markup; does not verify rendering or sanitize SVG. Returns paths, sizes and metadata counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | No | uri | |
| identifier | No | ||
| input_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| svg_encoding | No | auto |