This is vue composition-api library to edit image on canvas.
npm install v-use-edit-imagev-use-edit-image is a Vue Composition API library for editing image with canvas API.
You can mask image like this!
!mask
And also, you can crop, insert string, and draw images above image.
(Currently, this repo only has mask example... Sorry!)
Use the package manager npm to install v-use-edit-image.
``bash``
$ npm i v-use-edit-image
You also have to install Composition API library if you use Vue 2.x
For more information, please check example directory or DM me on twitter !
(I'm writing this section...)
Please make sure to update tests as appropriate.