Hi All,

I'm new to ImageMagick and have a montage question. I'm trying to produce a 20x30 poster containing 98 images (in a 7x14 grid). I can do the math to produce the final image size that I want (which is actually just a bit less than 20x30), but I'm wondering if there is an easier way.

I'm getting satisfactory results using something (approximately) like this:

montage.exe 2006*.jpg[544x408] -size 1024x1024 -tile 7x14 -geometry 544x408+5+5 montage.jpg

... but only because I calculated the required image dimensions and spacing values. What I'd like to be able to do is specify that I want a 20x30 canvas containing a 7x14 grid of images with 0.5" borders around the outer edge and a 5 pixel border between images - and then let ImageMagick determine the proper image sizes.

Is this currently possible? Obviously, I could write some code to figure this stuff out and then construct the proper command line, but I don't want to reinvent the wheel if it already exists.

Short of that, the above command line gives me 10 pixels between adjacent images, but only 5 pixels around the outer edge. Is there a way to specify the width of the outer border independently?

Thanks for any input.

Jeff Godfrey
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to