cannot upload any image to the whiteboard
Opened this issue · 2 comments
kpratikoc commented
is there any functionality implemented in this library to upload image on the canvas. need help ASAP
thanks.
Peshou commented
You cannot upload directly, but you can can use a base64 image or a path to a resource.
https://github.com/webfactorymk/ng2-canvas-whiteboard#imageurl-string-optional
As for some help for the immediate future you can upload an image and use the FileReader to read the image and transform it to a base64 form and use the imageUrl input.