You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you for making this, it works pretty well for my project compared to html2canvas & html-to-image.
Just a question out of curiosity, from my experience with html2canvas, as it primarily uses canvas for rendering, images from another domain need to go through a proxy to be drawn and exported from the canvas, but that doesn't seem to be the case with this lib, I'm able to render x-domain images normally without any proxy. What is the magic behind this one (how does it work)?
The text was updated successfully, but these errors were encountered:
//ios safari 10.3 taints canvas with data urls unless crossOrigin is set to anonymousif(isInlineBase64Image(src)||useCORS){img.crossOrigin='anonymous';}
html-to-image and modern-screenshot by using window.fetch convert img.src to the base64 dataURL
Hello, thank you for making this, it works pretty well for my project compared to html2canvas & html-to-image.
Just a question out of curiosity, from my experience with html2canvas, as it primarily uses canvas for rendering, images from another domain need to go through a proxy to be drawn and exported from the canvas, but that doesn't seem to be the case with this lib, I'm able to render x-domain images normally without any proxy. What is the magic behind this one (how does it work)?
The text was updated successfully, but these errors were encountered: