"Jeff Godfrey" on wrote...
| 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.
|
This has been suggested as a useful thing. But is not implemented.
That is Specify a final size and geometry, and let montage work out the
tiling, and pages. OR final size and tiles and let montage work out
the geometry.
At the moment their is no argument input for the final output size,
or what it should do if all three size specifications are given.
And of course nothing has been done in this direction.
| 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?
|
Note at this time. The -geometry offset should be the the inter-image
spacing. and naturally as you have 7 images across you can only get it
down to within a 8 pixel 'quantum' of the wanted size.
This may be a good project for someone wanting to expand montage
functionality. Anyone?
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
for a in past present future; do
for b in clients employers associates relatives neighbours pets; do
echo The opinions in this article in no way reflect the opinions of $a $b
done;done
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users