nhn / tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
http://ui.toast.com/tui-image-editor
MIT License
6.83k stars 1.26k forks source link

magic wand feature #920

Open tejas36026 opened 1 month ago

tejas36026 commented 1 month ago

`<!DOCTYPE html>

0. Design
Upload image and click on it
Create polygons by current selection
Paint the selection
Blur radius:
` this is my code that work on magic wand using magic-wand.js now i need this image to be viewed in the tui image editor where i can apply other filters as well? what changes shall i incorporate ? i tried using the `var cvs = imageEditor._graphics.getCanvas() ` but it failed to load and for image `var img = imageEditor.toDataURL()` but that also did not work. what should i do ?