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
MacBook Pro 16” Mockups 🔥
– in 4 materials (clay versions included)
– 12 scenes
– 48 MacBook Pro 16″ mockups
– 6000 x 4500 px