Adding border to images.

This is one line that you can run the directory containing all your images and all the files with extension of \”jpg\” will be assumed to be images and the command run on them to add the border. The border is black in color and quality of the border is 100%.

The magic used here is montage command that is available in package : ImageMagick

If you do not have this package installed and use yum package manager then just run the command:

yum install ImageMagick

There are quite a lot of other options available with montage command that you can see in the man page or with –help