marcbachmann / node-html-pdf

This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.
MIT License
3.56k stars 543 forks source link

HTML to PDF file converting error #427

Open dignizant opened 6 years ago

dignizant commented 6 years ago

Hello, Using mpdf html to pdf image is not viewing it will set only red cross mark. i have find out the issue and the issue is " mPDF error: IMAGE Error (https://homescombine.com/uploads/visitor/image/15257613760.png): Error parsing temporary file image object created with GD library to parse PNG image" How to resolved it. Also this error is shown when image is uploaded on website but If my image is uploading via app it works properly and image is also display i dont know why it was happen. Please give solution

Eesha-Jain commented 2 years ago

Here is a great video! This integrates both HTML + CSS + images into a PDF: https://www.youtube.com/watch?v=zmJV6VN2h2E . Hopefully this helps with your error though it doesn't use mPDF