krita_import_image_layer
Import a PNG or JPEG image from a configured input root into a Krita document as a new paint layer at a precise pixel offset.
Instructions
Import a bounded PNG or JPEG under a configured input root as a new paint layer at an explicit pixel offset. Image must fit the supported RGBA/U8/sRGB destination; no guaranteed undo transaction. Reuse operation_id on retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | Yes | ||
| path | Yes | ||
| root | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes |