document_import_raster
Import a workspace-local raster image (PNG, JPEG, GIF, WebP, BMP, TIFF, TGA) into a new SVG document, choosing embedded bytes or a relative link, with a conversion manifest.
Instructions
Imports one workspace-local uncompressed BMP/TIFF/TGA, PNG, JPEG, GIF, or WebP as a new SVG document with a byte-sniffed, megapixel-bounded raster wrapper and conversion manifest. It can embed the approved bytes or retain one workspace-local relative link; it never fetches a URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| embedding | No | embed | |
| outputPath | Yes | ||
| workspaceId | Yes | ||
| manifestPath | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| manifest | Yes | ||
| revision | Yes | ||
| outputPath | Yes | ||
| manifestPath | Yes | ||
| manifestRevision | Yes |