dvcoolarun / web2pdf

🔄 CLI to convert Webpages to PDFs 🚀

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image is breaking when its actual height beyond the size of the page

naivecoder786 opened this issue · comments

Current output:
image

Expected output:
image

Attaching the output pdf for reference which had breaking of image as a serious issue.
print.pdf

commented

Due to these particular rendering issues, I have not packaged this. You seem like a web developer.

In the main file, there is a css file where you can change the output however you want.

you specify a specific height for the images?

@dvcoolarun actually I did try that but I wasnt able to get it to work properly. Below are my changes, even after adding this the image seems to break
image