Views
847
Replies
2
Status
Closed
Hi All,
I’m a professional software developer, but new to Photoshop and ExtendScript.
In a nutshell:
* I have a PSD file that contains several Layers (in ExtendScript they each is called an ArtLayer).
* Each ArtLayer contains one image.
* I would like to write an ExtendScript that opens the PSD file, accesses each ArtLayer, find the bounds of the image contained in the layer, and then replace the image with a new one of equal size/ dimensions.
* So far, I am abke to open the PSD and get all the ArtLayers, but I don’t know how to access the image data contained in the ArtLayer or how to "set" a new image.
Any help appreciated. Thanks.
jpuopolo
I’m a professional software developer, but new to Photoshop and ExtendScript.
In a nutshell:
* I have a PSD file that contains several Layers (in ExtendScript they each is called an ArtLayer).
* Each ArtLayer contains one image.
* I would like to write an ExtendScript that opens the PSD file, accesses each ArtLayer, find the bounds of the image contained in the layer, and then replace the image with a new one of equal size/ dimensions.
* So far, I am abke to open the PSD and get all the ArtLayers, but I don’t know how to access the image data contained in the ArtLayer or how to "set" a new image.
Any help appreciated. Thanks.
jpuopolo
How to Improve Photoshop Performance
Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!