cropper.js:3271 Uncaught DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
at Cropper.getCroppedCanvas (file:///D:/Cropper%20image/cropper.js:3271:25)
at HTMLButtonElement. (file:///D:/Cropper%20image/example.js:26:25)
Cropper version: 0.8.0
Browser:
- [XX] Chrome (desktop) version XX
- [XX] Edge version XX
When i am upload .png file it throw below error