I have html svg images
let canvas = await html2canvas(input
,{
allowTaint: true,
useCORS: true,
taintTest: false,
//logging: false
//height: window.outerHeight + window.innerHeight,
//windowHeight: window.outerHeight + window.innerHeight
}
);//.then((canvas) => {
const imgData = canvas.toDataURL('image/jpg');
This base64 string imgData does not contain any images, where as same code is working fine in chrome.
I have spent lots of hour and tried every options I found but nothing is working in firefox,
Any help, Highly appreciated.
Thank
from Html2Canvas does not capture image in Firefox
No comments:
Post a Comment