Export script is slow
So we've written this export script which takes a specific set of layers (~10) and goes through the following steps:
1. makes correct layers visible,
2. Select all, copy merged.
3. Create new document.
4. Paste and futz with alpha/layers.
5. Save new document.
I can elaborate if need be.
This takes around 40 seconds for 10 layers, which is a bit ridiculous. How should I speed things up? Is there a way to do such selective copy merged behavior much faster in a C++ exporter? Can I turn off the UI so it doesn't have to refresh?
Thanks,
Adrian