atomicImage
photoshop_place_image
Place an external image file as a new layer in the active document. x/y are absolute canvas coordinates for the placed layer's top-left bound in pixels (0,0 = document top-left). They are NOT an offset from Photoshop's default centered Place. Use when: compositing assets into an open document at a known position. Do NOT use when: opening a file as a new document — use photoshop_open_image. Returns: placed layer name, bounds, and position.semantics = absolute_top_left. Preconditions: active document; file must exist. Side effects: adds a new layer.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| filePath | string | yes | Full path to the image file (JPEG, PNG, PSD, etc.) |
| x | number | — | Absolute canvas X of the placed layer top-left, in pixels (default: 0) |
| y | number | — | Absolute canvas Y of the placed layer top-left, in pixels (default: 0) |
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe