FrancoisF
BuildShip2y ago
23 replies
Francois

HTML to PDF bigger images

I use the HTML to PDF node, it works fine with images of size 1024x1024. I tested 32 pages (a book can have 60 pages), where each page have an image. But, I generate pdf for printing books with lulu.com. I need images of 4096x4096 to match the lulu's requirements. With that size, it generates the pdf, but when I try to open it, I get 'Error Failed to load PDF document'. Is there a limit on your server for Puppeteer or something?
Was this page helpful?