magick input.png -bordercolor black -border 10 output.png
Category: Media & Conversion
magick input.png -bordercolor black -border 10 output.png
Add a border around an image
Adds a 10-pixel black frame around the image. -bordercolor picks the frame color and -border the width. Combine with -gravity for asymmetric frames.