Get layer RGB data (C++)
Hi all:
I have an Automation plugin that I'm attempting to read the RGB layer data for individual layers for. I'm able to do this on PSD files that have been exported, but looking at the Photoshop SDK, I'm not quite clear where to start if I was to do this in the Photoshop host application. I tried taking a look at the Outbound example plugin, but it looks like it relies on some sort of Globals pointer that contains an ExportRecord that's magically passed to the entry point of a export plugin.
Can I iterate over each layer in a Photoshop document and get its image data through the C++ SDK of an "Automation"-style plugin? I assume this must somehow be possible, but the documentation is not quite clear on what exactly one should do to achieve this.
