Add an image border 

$ hint border
add image border:
convert -border 1x1 -bordercolor black infile outfile

$ dlocate /usr/bin/convert
imagemagick: /usr/bin/convert-im6
$ mogrify -border 10x10 -bordercolor black image.jpg