[Mapit] pastetiles script

Bernhard Herzog bh at intevation.de
Tue Dec 19 18:44:50 CET 2000


Hi all,

I've just checked in a script that pastes all tiles in a directory into
one giant output image. The script is called pastetiles and you can find
it in src/tools.

It's usage message:

Usage: pastetiles dir outputfile

Read all image files in the directory dir and paste them into one giant
image and write it as outputfile. The output file type is determined
from the output filename.

The names of the image files must follow the scheme used by the
mapit-tiles, that is, <x>x<y>.<ext> where <x> and <y> are the indices of
the tile. The indices are expected to follow the same scheme as the ones
in the examples where the y index increases from bottom to top.

NOTE: The result image is held completely in memory, so the script may
require *huge* amounts of memory.


  Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
MapIt!                                               http://mapit.de/
Sketch                                 http://sketch.sourceforge.net/




More information about the Mapit mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)