reference_import
Import a bounded single-frame PNG from workspace/inbox as an immutable drawing reference for glyph design, mapping image pixels to font units via image_to_font and requiring expected_revision.
Instructions
Import a bounded single-frame PNG from workspace/inbox as an immutable drawing reference. image_to_font maps image pixels (top-left, Y down) to font units (baseline, Y up). Requires expected_revision. No tracing or automatic rescaling; use reference_id with render_glyph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | ||
| label | No | ||
| replace | No | ||
| summary | No | ||
| glyph_id | Yes | ||
| image_mode | No | inline | |
| project_id | Yes | ||
| source_path | Yes | ||
| reference_id | Yes | ||
| image_to_font | Yes | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| changed | No | ||
| summary | Yes | ||
| revision | No | ||
| warnings | No | ||
| project_id | No |