Export layers
exportConvert design layers to PNG, JPG, SVG, WebP, PDF, or Fig; return image bytes or write the file to a given path.
Instructions
Export layers as png, jpg, svg, webp, pdf or fig. Without path the bytes come back as image content; with path the app writes the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| cmyk | No | ||
| path | No | ||
| size | No | ||
| bleed | No | ||
| scale | No | ||
| format | No | ||
| cropMarks | No | ||
| bleedMarks | No | ||
| contentsOnly | No | ||
| svgIdAttribute | No | ||
| svgOutlineText | No | ||
| svgSimplifyStroke | No | ||
| includeBoundingBox | No |