Page 1 of 1

Montage Fit to a dimension

Posted: 2015-03-21T04:18:44-07:00
by cuehello
Hello!

This looks like a nice place would very helpful people figured I will ask something that's been bugging me and could not get it to work.
I hope you fellas can help me out with this one

What I want to achieve is detect which images are in portrait or smaller than the 400x400 and fill them in the 400x400 square.
So basically I want a fit to option to 400x400.


At the moment this what i'm running:
I'm on a Mac with imagemagick installed.

Code: Select all

montage -gravity northwest  -geometry 400x400+10+10 *.jpg *.jpeg *.png _moodboard.jpg
and here is the actual result:
Image
I don't know how to make this with the montage but I can make something like this with convert and cropping the image at 400x400.

Re: Montage Fit to a dimension

Posted: 2015-03-21T06:53:07-07:00
by Bonzo
I do not use montage and would probably use convert with a script.

What does this give you:

Code: Select all

montage -background white -gravity center -extent 400x400 *.jpg *.jpeg *.png _moodboard.jpg