atomicExport
photoshop_export_as
Export a copy of the active document as PNG, JPEG, WebP or AVIF without changing the open document. WebP/AVIF require Photoshop 23.2+/recent builds and return a clear error when unsupported. Users often say: export for web, save as webp, quick export png. Use when: web-ready delivery formats are needed (WebP/AVIF/modern pipelines). Do NOT use when: saving the working document itself — use photoshop_save_document. Returns: JSON { ok, summary, details: { path, format, method } }. Preconditions: active document. Side effects: writes one file to path.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| path | string | yes | Absolute output file path (extension should match format) |
| format | string | — | Export format |
| quality | number | — | Quality 0-100 (JPEG/WebP/AVIF) |
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe