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

NameTypeRequiredDescription
pathstringyesFull path where to save the document
formatstringPSD | JPEG | PNGFile format (PSD, JPEG, PNG)
qualitynumberQuality for JPEG (1-12, default: 8)

Community recipes

Nothing here yet. Be the first to share one.

Share a recipe