We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i tries to save the Image created in canvas,
but it gives me error as : Error: Failed to execute 'toDataURL' on 'HTMLCanvasElement'
mycode is as follows :
var canvasMemDOM =$('<canvas>'); var canvasMem=canvasMemDOM.get(0); $(canvasMemDOM).attr('width', imageWidth+"px"); $(canvasMemDOM).attr('height', imageHeight+"px"); var ctxMem=canvasMem.getContext("2d"); ctxMem.drawImage(img, 0, 0, imageWidth, imageHeight); ctxMem.drawImage(canvas, 0, 0); canvasImageUrl = canvasMem.toDataURL();
i get error at last line..
canvasImageUrl = canvasMem.toDataURL();
The text was updated successfully, but these errors were encountered:
set crossOrigin = "Anonymous" for the img
Sorry, something went wrong.
No branches or pull requests
i tries to save the Image created in canvas,
but it gives me error as :
Error: Failed to execute 'toDataURL' on 'HTMLCanvasElement'
mycode is as follows :
i get error at last line..
The text was updated successfully, but these errors were encountered: