Export a layer's pixels
export_layerExport a pixel layer's source PNG or mask from a Compositor .comp project to a file. Specify the project path, layer, and output path, and choose between image and mask.
Instructions
Copies a pixel layer's source PNG (untransformed, original resolution) or its mask to a file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .comp project package (a directory ending in .comp) | |
| what | No | image | |
| layer | Yes | Layer UUID or its exact name | |
| outputPath | Yes |