
[![view on npm](http://img.shields.io/npm/v/magic-wand-tool.svg)](https://www.npmjs.org/package/magic-wand-tool)
[![License: MIT](https://img.shields.io/github/license/tamersoul/magic-wand-js.svg)](https://github.com/Tamersoul/magic-wand-js/blob/master/LICENSE.txt)

# Magic wand tool (fuzzy selection) by color for Javascript

Creates binary mask and contours (vector data) from raster image data by color differences

## Installation

Install it thought NPM:

```shell
npm install magic-wand-tool
```

Or add from CDN:

```html
<script src="https://unpkg.com/magic-wand-tool@latest/dist/magic-wand.min.js"></script>
```

### Example usage:

[Live example on the jsFiddle](http://jsfiddle.net/Tamersoul/dr7Dw/)

## License

[MIT](https://opensource.org/licenses/MIT) (c) 2014, Ryasnoy Paul
