How should I continue with my plugin development?
Currently I am a little stuck on what way to proceed.
I am looking to create a plugin that Exports .png files from each of the layers in the document. Each .png will can be exported as [PNG-24, PNG-8, Grayscale] depending on what the user selects.
I created a Export plugin that I thought would allow me to achieve this this is what it currently does:
- Hooks into my service client.
- Gets the documents name.
- Gets the documents layer count.
- Gets the documents layer names.
- All other logic to handle my objects
What else I need to do:
- Save out each layer of the document to a file path.
- Return this file path back to my service client ~ I can do this in the Export plugin
Ideally I would love to keep all this in my export plugin, I don't want to make a whole new plugin to do ONE action.
I have built out another Actions plugin, and have that ready to go.
My question is what are my next steps, do I focus on a action like this:
error = sPSActionControl->Play
(
&resultDescriptor,
eventSave,
playDescriptor,
plugInDialogDontDisplay
);
What should I focus on to export these layers?
