To decrease the size of the PDF documents during HTML to PDF Conversion

Do you know if there is a command line argument to decrease the size of the PDF documents that are generated. I have had a look on your website and cannot see anything obvious. We are using the html2pdf tool.
HTML Converter Command Line hasn't an option to compress the PDF file size, however, you can download PDF Compressor from our website to try, you can use PDF Compressor to compress your PDF files, we hoping PDF Compressor product will work fine to you,
Is there a DPI setting that the tool uses when it generates the PDF file? If so, do you know what this is?

Htmltools.exe hasn't DPI option, however, you can try to use different values of -imgfilter parameter to compress the images in the PDF file, we hoping -imgfilter parameter will work fine to you,

-imgfilter <int>          : Set compression filter which is used to compress images
-1 : Set compression filter automatically, default
0 : Flate compression
1 : JPEG compression
2 : B&W CCITT Fax G3 compression
3 : B&W CCITT Fax G4 compression
7 : JPEG 2000 compression

For example,

htmltools.exe -imgfilter 1 "" C:\out.pdf

htmltools.exe -imgfilter 7 "" C:\out.pdf

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!