Enlarge image canvas using ImageMagic
Posted: 2010-12-27T23:27:27-07:00
I've been learning about ImageMagick & it's great! For the most part, I can learn on my own, though 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?
Thanks!
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?
Thanks!