Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wkhtmltopdf : How do I increase the PDF quality of a document generated?

I am generating pdf using wkhtmltopdf. The text/image quality rendered in the document is not to the expected quality. Images look blurred and text does look sharp. Is there any way I can do to increase the quality?

like image 544
John Avatar asked Oct 10 '12 12:10

John


1 Answers

Try giving this thread a read http://code.google.com/p/wkhtmltopdf/issues/detail?id=379

Especially the part in comment #15 about disabling smart resizing applies.

Add the command line option --disable-smart-shrinking.

like image 179
Brian Tyndall Avatar answered Nov 08 '22 05:11

Brian Tyndall