I have thousands of images where I need to add a border onto. I've been trying to automate this tedious process but I don't seem to succeed at it. I've been playing around with the automate, actions and image processor feature.
These are the steps I've done manually to create the result I'd like with 1 image.
- Create a new document with 13 cm width by 10 cm height
- Change the white background into a black background
- Load the image onto the canvas (by dragging) note: it will automatically center
- Save the image
Original example: Wikipedia
End result example:
Hopefully someone can explain to me which steps I need to take in order to automate this.
The most important thing is that all of the images are centered in the middle, the border size itself doesn't really matter so it basically needs to full up the space. That's why I was using the background itself as a border instead of adding a rectangle manually.
Most of the images are the same size but not all of them, same of them are made with an older camera.
I also separated the horizontal and vertical photo's. I could've rotated all of them but that seems to be more time consuming than separating them.
The canvas size must be 13 width and 10 height for horizontal photo's and 10 width and 13 height for vertical photo's. The photo will always be centered in the middle so that it will created borders on two sides.