Skip to main content
Participant
March 1, 2006
Question

Photoshop 6.0 SDK, export layers?

  • March 1, 2006
  • 2 replies
  • 462 views
I was wondering if it would be possible to export layers to a file. For example, using an Export Module, would it be possible to take 3 layers (assuming there's only 3 layers) and write all three of these layers out to a single file, each layer being right after the other in terms of data.

Any help is greatly appreciated. Thanks.
This topic has been closed for replies.

2 replies

Participating Frequently
March 2, 2006
Please at least give it a few days for a response. However, this is a
low traffic group; you might find you need to raise an ASN case.

Aandi Inston
Participant
March 1, 2006
I would really appreciate a response on this.

I found out that you can use the DocumentInfo variable to access a list of layers. Unfortunately, the layer info descriptors have no data pointers. How am I supposed to read in data? I can't even read in data from the channels (not that this would be useful, since I want all the channels to act as 1 pixel).

As a side note, what is this structure:

typedef struct _PIChannelPortDesc *PIChannelPort;

Specifically _PIChannelPortDesc confuses me because I cannot find a definition. None of the above topics can be found in the SDK documentation for the CS2 SDK. ( I switched from sdk 6.0 to CS2 )