0.1.0 • Published 6 years ago

scrixel-map v0.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

Scrixel Map

A simple program that converts an image to pixel array. Useful for converting an level image map to an array.

Example

scrixelMap("./level.png").then(imageObj => {
    console.log(JSON.stringify(imageObj));
    // [[65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,16711935,...]]
}).catch(err => console.log(err));

Author

Jordan Lord

License

MIT

0.1.0

6 years ago