Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Borders for Images

$ convert sample.jpg -border 10x20 output.jpg
This adds a border of 2 pixels wide and 4 pixels high.

Next we can add a more decorative border

$ mogrify -frame 20x20 <filename>

Copyright © 1995-2020 Togaware Pty Ltd
Support further development through the
purchase of the PDF version of the book.
Brought to you by Togaware and the author of open source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.