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

NameTypeRequiredDescription
filePathstringyesFull path to the image file (JPEG, PNG, PSD, etc.)
xnumberAbsolute canvas X of the placed layer top-left, in pixels (default: 0)
ynumberAbsolute 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