$ convert sample.jpg -border 10x20 output.jpg
Next we can add a more decorative border
$ mogrify -frame 20x20 <filename>