[OSM-dev] Tile stitcher?
Frederik Ramm
frederik at remote.org
Wed Mar 24 08:24:33 GMT 2010
Alan,
Alan Mintz wrote:
> Is there a simple, hopefully command-line or config-file driven tool that I
> can use to generate a single JPEG from multiple JPEGs?
The "montage" tool from the ImageMagick suite can do that. It has an
array of command line options; you would use it somehow like this:
montage -tile rowsxcolums file1.jpg file2.jpg ... destination.jpg
By default it will scale the images but you can give a -geometry option
to avoid that. It will also put a white border between the images but
there is a -border option or maybe you have to add +0+0 to teh -geometry
option or so, I cannot remember but I know that I once used it to stitch
a lot of tiles. You can of course run it specifying "*.jpg" as your
sources, provided the names are such that the first image is the top
left one and the last is the bottom right one. (There is a command line
option for column-first rather than row-first ordering I believe.)
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the dev
mailing list