I have a page that I convert to an image using html2canvas and then I convert the image to pdf but I noticed that when I convert the image to PDF, it becomes blurry if I open the pdf on a computer but sharp when I open the pdf on a mobile phone.
The image dimensions is over a thousand pixels so I had to resize it using FPDF so it can fit into the PDF.
I found here https://stackoverflow.com/a/24897867/6879011 that changing the scale should solve it and I think it should work since changing the scale of html2canvas caused the image I generated to be sharper.
My question is, is there a way to change the scale of the FPDF constructor when creating it?