atomicDocuments
photoshop_save_document
Save the active document to disk in PSD, JPEG, or PNG format. Use when: user requests export/save with a specific path and format. Do NOT use when: web-optimized resize+sharpen pipeline is needed — use photoshop_recipe_prepare_for_web. Returns: confirmation with saved path and format. Preconditions: active document; path required. Side effects: writes file to disk.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| path | string | yes | Full path where to save the document |
| format | stringPSD | JPEG | PNG | — | File format (PSD, JPEG, PNG) |
| quality | number | — | Quality for JPEG (1-12, default: 8) |
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe