Page 1 of 1

Re: Using montage

Posted: 2007-09-05T20:22:26-07:00
by anthony
The mathematics of montage is straight forward...

Basically the montage width should be.... (geometry_size + 2*frame_size) * images_per_row
+ geometry_offset * (images_per_row + 1)

The height is similar but with extra spacing for labels and the optional montage title. Shadow does not have any effect in the current versions of montage though years ago it did.

There has been a proposal for some method by which a final montage size can also be specified.
See http://www.imagemagick.org/Usage/bugs/f ... ntage_size
The other parameters (not defined) would then be adjusted accordingly. However figuring out how the various options should interact when things are not defined, is a complex issue as it has not been done with a specified final output size in mind.

If someone would like to re-program montage (it is quite a straight forward IM application program) to do this, I am sure users would love you, and worship you for your great programming skills. :wink:

Re: Using montage

Posted: 2007-09-06T10:32:13-07:00
by Bonzo
It could be done if you are using php. All the calculations etc. would be done with php and you then put the results into a php code. I have a couple of examples showing you the sort of thing that can be done on my site; look at this page: http://www.rubblewebs.co.uk/imagemagick/other.php