Simple question searching from last 2 days but didnt find solution i am converting html to pdf using this addHTML api of jsPDF
(最近2天进行的简单问题搜索,但没有找到解决方案,我正在使用jsPDF的addHTML api将html转换为pdf)
$('#loadPdf').on('click', function() {
var pdf = new jsPDF('p', 'in', 'a4');
pdf.addHTML($('#complete')[0], function() {
pdf.save('new.pdf');
pdf.output('datauri');
});
});
this is producing blur image pdf the text is showing blurry.
(这将产生模糊图像pdf文本显示模糊。)
I searched a lot find some links (share below) but didn't get answer.(我进行了很多搜索,找到了一些链接(在下面共享),但没有得到答案。)
html2canvas-generates-blurry-images
(html2canvas-generates-blurry-images)
addHTML image quality
(addHTML图像质量)
jspdf and addHTML / blurry font
(jspdf和addHTML /模糊字体)
is there any way available to get high quality image pdf.
(有什么方法可以获取高质量的图像pdf。)
If i don't use addHTML api and use any other then image is not displaying in pdf.(如果我不使用addHTML api并使用其他任何API,则图像不会以pdf显示。)
help please(请帮忙)
ask by Mohammad Faizan khan translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…