Hello fellows,
thank you for your input, so far.
Let me answer Blowhard?s first.
No, this is no trick question.
Yes, I need this action for a huge batch process with pictures of different sizes - landscape and portrait orientation.
And of course - I know how easy this is without using actions.
Adlabs6:
Your method only works for pictures with nearly them same size because photoshop action recording process saves the scale input values in percent
even when I use pixel during the recording process.
e-b-o-
To your first solution.
Yes, it?s much more easier to stroke inside but I need/want it outside.
The 2nd one could be a possebility with a lot of crop, copy and paste.
Jesters
Sorry, I?m a bit confused about your way.
Here is my version:
I start with one layer over the background layer (as you can see at the top of this thread).
Step 1: make a selection of layer 1 (CTRL + left click the layers image inside the layer palette)
Step 2: save that selection (Menu Select - Save selection)
Step 3: duplicate the whole image and load the previous saved selection
For the next steps I?m working with the duplicated image !
Step 4: choose the color for the border and use the command Edit - Stroke to create a border OUTSIDE the image on layer 1
(see Pic 01)
Step 5: make again a selection of layer 1 (CTRL + left click the layers image inside the layer palette)
Step 6: Crop the image (see Pic 02)
Step 7: Fill the complete layer 1 with the same color as the border
Step 8: Use the following commands ?Select - All? / ?Edit - Copy? / ?File - Close?
For the final steps I?m working with the original image !
Step 9: Use ?Edit - Paste Into? and delete the layer mask (see Pic 03)
Step10: Make a selection of the image layer (layer 1) and erase the selected part from the border layer (layer 2)
(see Pic 04)
That?s it. It sounds not very simple, but it works for all kinds of images and it works via actions.
Winger69