0.0.4 • Published 9 years ago

tileimg v0.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

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 imagemagick

On Mac OS X

$ brew install imagemagick

On CentOS

$ yum install imagemagick

Install

npm install -g tileimg

Arguments

ArgumentsTypeDefaultDescription
minZoomNumber0Minmum Zoom
maxZoomNumber0Maximum Zoom
zoomNumberN/AUse this argument to convert your image to one zoom level

Usage

$ tileimg image.png --minZoom 0 --maxZoom 5
$ tileimg image.png --zoom 2