Automation plugin: Quick export layer as PNG?
I have an c++ automation plugin to export meta data from layers to a file, but I would also like to export some layer groups to PNG,
I see the option "Quick export as PNG" when right clicking on a layer, unfortunately I am not able to capture it using the Listener demo.
The plugin right now does:
- Iterate layers
- Export metadata (text, bounds, name, ...)
- Quick export current layer as PNG (missing this)
I know how to export a png using sPSActionControl and eventSave, but that exports the whole document. I would only like to export the selected layer.
I would like to avoid this other solution Export portion of an Image using Lyr "Bounds" since execution seems the be slow.
