Timothy Lee
Timothy Lee
```javascript const a = ['A1', 'A2', 'B1', 'B2', 'C1', 'C2', 'D1', 'D2'] const b = ['A', 'B', 'C', 'D'] const result = a.reduce((acc,cv,idx)=>{ return (idx%2===1)?[...acc,cv,b[(idx-1)/2]]:[...acc,cv] },[]) ```
https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image The Image server must have CORS header like ``` Access-Control-Allow-Origin: ``` or ``` Access-Control-Allow-Origin: * ``` And don't forget to set the image `crossorigin` attribute to `anonymous `, to...
@alexdpts could you provide more details about what you try to achieve? Using `rotate` prop can rotate the image.
@alexdpts unfortunately this component did not have that flip feature.
https://github.com/timtnleeProject/vuejs-clipper#clipper-basic You can use `getDrawPos()`
Hi, @irfnrdh for now it will not become a feature. However, you can manipulate the resulting canvas and draw your watermark. Example: https://codesandbox.io/s/watermark-72l6m?file=/src/App.vue
Hi @arufonsekun , Since vuejs-clipper is dependent on `vue-rx`, `vue-rx` are not going to support vue3 yet. :( So this package is not available for vue3 for now.