Export Document
ps_exportExport active Photoshop document to PNG, JPEG, PSD, or TIFF format. Specify file path, and optionally set scale for PNG or quality for JPEG.
Instructions
Exports the active document to a file. Supports PNG (with optional scaling), JPEG (with quality), PSD, and TIFF. Provide an absolute file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Output format | |
| path | Yes | Absolute file path to export to | |
| quality | No | JPEG quality 1-12 (only for JPEG) | |
| scale | No | Export scale factor, e.g. 2 for 2x (only for PNG) |