- Where Developers Learn, Share, & Build Careers
I canvas another JavaScript canvas created through the canvas I am trying to attract But this is not working for me,
this is my code,
I think the problem was, when you attract the picture in the picture The canvas were trying, the image was not ready. So if you do this then it works perfectly:
And you can adjust the height and width of the dynamic canvas.
If you delete that window Open statement, correct it.
But there is a problem with canvas.toDataURL ()
when you try to canvas.toDataURL ()
A local file, it returns a security error (if you inspect it via Google Chrome) that means
wasted error: SECURITY_ERR: DOM exception 18
You can learn more about this error: (See if you are getting this error). Anyway, the root cause is solved, and a new problem is now completely: D. Otherwise better fortune!
Comments
Post a Comment