0.0.4 • Published 10 years ago
tileimg v0.0.4
tileimg
Converts your image to map tiles which can be viewed using libraries like LeafletJS and OpenLayers.
It's built upon ImageMagick:
On Ubuntu
$ apt-get install imagemagickOn Mac OS X
$ brew install imagemagickOn CentOS
$ yum install imagemagickInstall
npm install -g tileimgArguments
| Arguments | Type | Default | Description |
|---|---|---|---|
minZoom | Number | 0 | Minmum Zoom |
maxZoom | Number | 0 | Maximum Zoom |
zoom | Number | N/A | Use this argument to convert your image to one zoom level |
Usage
$ tileimg image.png --minZoom 0 --maxZoom 5$ tileimg image.png --zoom 2