Copy link to clipboard
Copied
I have 48 .png images that I want to batch process.
I have another .psd file open in Photoshop with a layer I'd like to copy across into all these .png images.
These layers for some reason are not availabe to Ctrl-C , then Ctrl-Shift-V (copy into) the .png images.
Also, "Duplicate layers..." does not work since the name of the .png file always changes.
Ctrl-A, and then copying allows me to paste the layer in my .png image but its out of position.
How can I make sucessfully make an action to do this?
Copy link to clipboard
Copied
Are the PNG images all 24 bit RGB or perhaps indexed colour 8 bit? What about the PSD? What are the pixel dimensions of the PSD and PNG files?
Can you post samples or screenshots to illustrate?
A script might be able to overcome any limitations with actions.
Copy link to clipboard
Copied
both images are RGB 8 bit, and these are the layers I am trying to copy-paste over.
Whats a good language to script in (I'm not too familiar with javascript, but maybe chatgpt can help me)
Copy link to clipboard
Copied
Copy and paste into should work, one layer at a time. If you only have 2 docs open the action should be OK.
Layer > Duplicate will work in an action for multiple selected layers if you set the modal playback for that step so that it's interactive to allow you to select the target document by name. A script would provide full automatkon of the layer duplication. I'm not sure if layer duplication will correctly position though.
Copy link to clipboard
Copied
thanks
With only one layer selected it still denies copy & copy-into
I'll try and make it modal... was hoping to get around doing something 48 times, but the action will help save some time anyway
I might also see if chatgpt can help me make a scritp, its interesting and I will have situations like this int he future too probably
Copy link to clipboard
Copied
Ideally, you need to find out why it isn't copying.
If you have no experience scripting (even with the assistance of AI), you will likely waste more time than just making this work as an action.
Have you selected all? Is the RGB composite/component channel selected?
Copy link to clipboard
Copied
What exactly is "copy into"? Could it refer to "copy merged"? I can't find "copy into" in any of the menus.
This is possible, but you're having trouble getting it to work for some reason. Are you attempting to copy and paste multiple layers? Have you tried copying and pasting or duplicating one layer at a time? It will be ideally positioned in the exact same spot when duplicating, but only if both documents share the same dimensions.
Copy link to clipboard
Copied
What exactly is "copy into"? Could it refer to "copy merged"? I can't find "copy into" in any of the menus.
By @Bojan Živković
I was assuming copy and paste into. :]
Copy link to clipboard
Copied
Make sure your documents are all at the same magnification level (50%, 100%, etc.) There is a bug when dragging layers to a new document where they will only align if view magnification is identical. Not sure if this affects copy/paste as I almost always use drag and drop.