Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix quality parameter for getDataURL()
According to the documentation [1] the function `canvas.getDataURL()` takes a quality level as second parameter. It is expected that this parameter is a number in the range [0,1] rather than an object.. [1] https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL
- Loading branch information