How to convert HTML to multipage TIFF file by command line?

By the latest version VeryPDF HTML Converter, we can convert HTML file both of online website or local HTML file to multipage tiff file. Meanwhile, this software is professionally for converting HTML pages to PDF, PS, JPG and other image formats. For more information, please visit software homepage. In the following part, I will show you how to convert HTML file to multipage tiff file by command line.

Step 1. Download HTML Converter

  • There are two versions of HTML Converter: GUI version and the command line version. Here I will take the command line version for example. And please note even if there is only server version available on our website, but it also can work under single computer or laptop.
  • When downloading finishes, there will be a zip file. Please extract it to some folder then you can find the executable file and help document.

Step 2. Convert HTML file to multipage tiff file by command line.

  • When you run the conversion, please refer to the usage and examples.
  • Usage:   htmltools [options] <EMF-WMF-HTML-URL-RTF-file> [<PDF-PS-Image-file>]
  • When converting HTML file to multipage tiff file, please refer to the following command line templates.
  • htmltools.exe -multipagetif C:\test.rtf C:\test.tif
    This software also can help you convert RTF file to multipage tiff file.
    htmltools.exe -multipagetif -bitcount 1 -xres 300 -yres 300 C:\test.html C:\test.tif
    When converting HTML to tiff, we can specify bit count and resolution in both X and Y directions.
    htmltools.exe -webkit "http://www.verypdf.com" D:\out.tif
    When converting online website to PDF, please add parameter webkit for better quality.
    htmltools.exe -multipagetif -bitcount 1 -xres 300 -yres 300 C:\test.rtf C:\test.tif

Now let us check related parameters about the conversion:
-multipagetif             : Create multipage TIFF format
  -xres <int>               : Set X resolution to image file
  -yres <int>               : Set Y resolution to image file
  -bitcount <int>           : Set color depth for image conversion
  -rotate <int>             : Rotate pages, 90, 180, 270
  -margin <string>          : Set page margin to PDF file
        -margin 10          : Set margin to 10pt to left
        -margin 10x10       : Set margin to 10pt to left,top
        -margin 10x10x10    : Set margin to 10pt to left,top,right
        -margin 10x10x10x10 : Set margin to 10pt to left,top,right,bottom
  -view                     : View PDF file after creation
-webkit                   : Use Webkit engine to render HTML file or URL to PDF file

If you need to know more parameters and examples, please read readme.txt carefully. Please note this function is only available in the latest version of HTML Converter. Now let us check the conversion effect from the following snapshot. During the using, if you have any question, please contact us as soon as possible.

output tiff file

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

This entry was posted in HTML Converter (htmltools) and tagged , . Bookmark the permalink.

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!