Magic wand tool through javascript
15:59 07 Jun 2015

I am going to start working on a new project that requires me to crop images based on poly selection. The challenge is to allow the front end user to be able to quickly select an area in an image and then crop it. To make the process easier for the user I am thinking to provide some functionality similar to magic-wand tool in photoshop.

I found this library - https://github.com/Tamersoul/magic-wand-js

This works fine, but only let me select the area once.

My question is, is it possible to add features of multiple selections and remove a selection from the area already selected.

Check this demo fiddle to see what I am referring to - jsfiddle(dot)net/Tamersoul/dr7Dw/

javascript image-processing