What is the data structure that can be used to access the list of layers from within an Export plugin written in C++?
Any pointers to where I can find some sample code would be appreciated.
To my knowledge, accessing individual layers is possible only from automation plugin but it cannot access individual pixels.
But automation plugin can call other plugins. Take a look at automationfilter example in SDK.
It calls filter plugin “hidden” also from SDK which can access pixels.
Hope this helps,
Regards,
Momir
The ExportRecord of the plugin type contains a pointer to the documentInfo.
The layerDescriptor can then be iterated over for every layer in the document.
You can use the ChannelPortsProcs to read the data from those layers.