Export Document
illustrator_export_documentExport the active Adobe Illustrator document to PNG, JPG, SVG, or PDF with adjustable scale, transparency, and artboard selection.
Instructions
Export the active document to an image or PDF.
Args:
path (string): absolute destination path (include the extension)
format ('png'|'jpg'|'svg'|'pdf'): default 'png'
scale (number): raster scale in percent, e.g. 200 = 2x (default 100)
transparent (boolean): PNG transparency (default true)
artboard_index (number, optional): export a specific artboard (0-based)
PNG/JPG are clipped to the active artboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute destination path, including extension. | |
| scale | No | Raster scale in percent (200 = 2x). Default 100. | |
| format | No | Output format. | png |
| transparent | No | PNG transparency. Default true. | |
| artboard_index | No | 0-based artboard index to export (optional). |