krita_create_file_layer
Create a linked PNG/JPEG layer in a Krita document from an external image file. It stays in sync with the source path and supports optional scaling to image size.
Instructions
Create a linked PNG/JPEG file layer from a configured input root. Krita watches the source; keep it available. Supports no scaling or fit to image, with Bicubic filtering. No guaranteed undo. Reuse operation_id on retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| root | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes | ||
| parent_node_id | No | ||
| scaling_method | No | None |