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
<!-- Background-Image --> <div id="reference" style="display: inline-block; width: 20px; height: 20px;"> <div style="background-image: url(https://img.coregem.net/img/user/avatar/random/14.png?imageView2/1/w/200/h/200); opacity: 1; width: 20px; height: 20px; background-size: cover;"></div> <!-- <img id="img" src="https://img.coregem.net/img/user/avatar/random/14.png?imageView2/1/w/200/h/200" width="100" height="100"> --> </div> <script type="text/javascript" src="../dist/html2canvas.min.js"></script> <script type="text/javascript"> await html2canvas(reference, { scale: 4, allowTaint: true, useCORS:true }).then(function (canvas) { document.body.appendChild(canvas); }); </script>
<!-- This Img tag --> <div id="reference" style="display: inline-block; width: 20px; height: 20px;"> <!-- <div style="background-image: url(https://img.coregem.net/img/user/avatar/random/14.png?imageView2/1/w/200/h/200); opacity: 1; width: 20px; height: 20px; background-size: cover;"></div> --> <img id="img" src="https://img.coregem.net/img/user/avatar/random/14.png?imageView2/1/w/200/h/200" width="20" height="20"> </div> <script type="text/javascript" src="../dist/html2canvas.min.js"></script> <script type="text/javascript"> html2canvas(reference, { scale: 4, allowTaint: true, useCORS:true }).then(function (canvas) { document.body.appendChild(canvas); }); </script>
The text was updated successfully, but these errors were encountered:
version: html2canvas 1.0.0-alpha.12
Sorry, something went wrong.
@007-liang version 1.4.1 still caught this problem
No branches or pull requests
The text was updated successfully, but these errors were encountered: