pdfify-server icon indicating copy to clipboard operation
pdfify-server copied to clipboard

how to set dpi/ppi?

Open pavle-lekic-htec opened this issue 6 years ago • 1 comments

Hi, Thanks for the wonderful library, I have one question, how do I set dpi resolution? Because I've seen some issues that I think are related to dpi, but I cannot change it.

Thanks.

pavle-lekic-htec avatar Sep 24 '18 09:09 pavle-lekic-htec

Actually there is no option for viewportSize, and I tried to edit your code and add the option but it just didn't work, phantomjs seems to not accept that property. Maybe I'm doing something wrong?

pavle-lekic-htec avatar Sep 24 '18 14:09 pavle-lekic-htec