Is it possible to capture some canvas and img element?
Opened this issue · 2 comments
evanezent commented
Hello,
So I want to capture the result from canvas three js manipulation, but it returns a blank image, but when I try to put ref into the root of all elements, all elements are able to capture except the img element and the canvas itself. Does anyone know how to deal with it? Thanks
leonzdev commented
html2canvas
needs to be called with allowTaint: true
and useCORS: true
to capture img
. Source: https://stackoverflow.com/a/66966944