I have a folder with 500 images, I want to add a 5% black border to all of them and then output into a new folder just to keep the originals intact but can't find online support for Mac.
The Input folder is: /Users/Luca/Desktop/Stampa/Italiane/*
The Output folder I want it to be is: /Users/Luca/Desktop/Mogrify
I've found something online but mostly for Windows and couldn't reproduce it on my Mac for some reason, I've tried various things without any results.
So I've tried tinkering with it and done:
mogrify -border 5%x5% -bordercolor Black /Users/Luca/Desktop/Stampa/Italiane/* -path /Users/Luca/Desktop/Mogrify
But it outputs nothing, just work on the images for a while, create a white border card and then deletes it.
Actually, the answer is to use the
-path
operator which is provided for that very purpose, i.e. to write the output images in a different folder:In the same vein, you can also set a new format (e.g. PNG) for the output files with: