jsPDF not working with images

后端 未结 4 1217
情话喂你
情话喂你 2020-12-11 17:07

I am trying to generate pdf on client-side using jsPDF library. My code looks like



        
4条回答
  •  旧时难觅i
    2020-12-11 17:44

    if you want to add a png image, you have to get the latest jspdf.js and add the support png libraries

    
    
    
    
    
    

    then in the script, change the format to 'PNG'

    
    

提交回复
热议问题