Enlarge image canvas using ImageMagic
I've been learning about ImageMagick & it's great! The one thing that I can't learn to do is to expand the canvas size. So if the ratio is 3x2, I want to add extra white space to make it 3x3. If I use the -geometry function, it enlarges the image to the proportions I want, but it loses the aspect ratio.
If you turn to page 377 (or 388 in PDF) of the User Manual, under "Montage", you'll see that ImageMagic can do what I want. The thumbnails in the example image are all of different proportions but the alloted space is 1x1 for all.
However the documentation on this function is pretty bad! Does anyone know how to do this?
Re: Enlarge image canvas using ImageMagic
I found it in the documentation here: http://www.imagemagick.org/Usage/crop/#border
I still need to read the height/width to determine how much more it needs, but it's a good solution.
convert sand.jpg -bordercolor white -border 0x50 sand.jpg