krita_set_file_layer
Replace a file layer's linked PNG/JPEG source and scaling in Krita. Set a new path from a configured root and choose scaling method, with bicubic filtering.
Instructions
Replace a file layer's linked PNG/JPEG source and scaling, using a configured input root. Uses Bicubic filtering. Source must remain available; no guaranteed undo. Reuse operation_id on retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| root | Yes | ||
| node_id | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes | ||
| scaling_method | No | None |