HTML2canvas generates Blurry images

前端 未结 8 1466
庸人自扰
庸人自扰 2020-12-01 06:45

I am using jsPDF and it uses html2canvas to generate an image from some html element and insert on the .pdf file. But there is a problem on html2canvas, it generates blurry

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-01 07:21

    If anyone is still looking for a solution to work for them I had success by setting scale: 5. Check it out here in their documentation. https://html2canvas.hertzen.com/configuration

提交回复
热议问题