Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 841 Bytes

README.md

File metadata and controls

47 lines (36 loc) · 841 Bytes

copilote-tile-converter

generate copilote road tiles from a png.




Installation

$ npm i -g brocessing/copilote-tile-converter

Table of correspondance

channel type
RED road
BLUE buildings
GREEN props
ALPHA n/a

Usage

copit

Usage:
  copit -i tile.png
  copit -i tile.png -o tile.json
  copit --help
  copit --version

Options:
  -h, --help              Show this screen.
  -i, --input <path>      Specify the png file to convert from.
  -o, --output <path>     Specify the json file to output to.
  -p, --pretty            Add spaces and line breaks to the json.
  -v, --version           Print the current version.

License

MIT.