So I'm about to get into a part of my project where I have to process a ton of images. The processing flow is the same, so I would like to use a combination of Actions and Automation to do the job. I was able to build a script but I have one step in it that I can't get to work unless a source is also open and copied into memory. Let me explain:
I usually get a bunch of photos from an event, these photos need be processed and dropped into this template frame, in other words a layer with with graphics on the left and right sides but the middle has a placeholder for these photos. After loading the images, the flow that I have created is as follows:
- Convert image from background layer to a basic layer (transparent)
- Resize the canvas to accommodate for the 'frame' template
- Paste the 'frame' template
- Move the image layer on top of the 'frame' template
- Merge layers
- Save file as original name + serial.
The problem I'm having is with step three. In order for me to be able to take this step, the source of the 'paste,' the 'frame' layer needs to be in memory; aka I need to have that file open, then do a Ctrl+Copy, and now that it's in memory and my script could be applied on those loaded images.
What I want to be able to do is somehow permanently store this 'frame' layer inside this script or somehow so that I don't always have to have it open as a separate file and have it sit in memory after a Ctrl+Copy.
Place
the frame instead ofPasting
it?Edit > Paste
to bring in this image to the document. There’s alsoFile > Place Embedded
. This method takes a file from a path of your choosing and places it into the document.