How to rotate pages when converting HTML to TIFF?

TIFF VS TIF: TIFF stands for Tagged Image File Format. Both .TIFF and .TIF are fine to use. When the older Microsoft file systems were limited to an 8.3 naming convention, the file extension of .TIFF was used. The only issue may be with file associations on Microsoft operating systems is that .TIF is associated and .TIFF isn't.

In order to rotate pages when converting HTML to TIFF, you should download the powerful document converter VeryPDF HTML Converter Command Line. VeryPDF HTML Converter Command Line can be used to convert the whole webpage to a TIFF page quickly and correctly. In addition, it supports you to rotate the page by a degree of 90, 180, or 270.

This article will take three steps to introduce the method to rotate pages and convert HTML to TIFF via one command line. The essential command is -rotate <int>, and it can be used to rotate pages.

1. Open the command prompt window

You should begin with the step to open the command prompt window. This step will take four steps: Click “Start”; > Click “Run” on the menu that appears on the computer screen; > Enter “cmd” in the “Run” dialog box, > Click “OK”.

clip_image002[4]

2. Enter a command line

The command for page rotation and conversion from HTML to TIFF consist of four factors as illustrated in the following mode.

htmltools -rotate <int> <HTML file> <TIFF file>

Factor 1: htmltools ---- the executable file

Factor 2: -rotate <int> ---- the command which can be used to rotate pages. The angle brackets are used to mark the essential content. int means integer. This command permits three parameter values, which are 90, 180, and 270.

Factor 3: <HTML file> ---- the input HTML file(s)

Factor 4: <TIFF file> ---- the output TIFF file(s)

Pay attention, you should enter the whole directories of the files in the command prompt window, instead of the names of the files. The directories are helpful for guiding the computer to find the files. Right now, you should enter the directories of the executable file and the input and the output files in the command prompt window. For instance

D:\htmltools\htmltools.exe -rotate 90 D:\in\*.html D:\out\*.tiff

D:\htmltools\htmltools.exe is the directory of the executable file htmltools.exe. In the example, the directory shows that the executable file is in the folder htmltools on disc D. The example directory can be replaced by the actual directory of the executable file in your computer.

-rotate 90 is the command for bit depth setting. It specifies 90 as the angle degree. The number can be replaced by 180 or 270.

D:\in\*.html is the directory of the input files. This directory indicates that the input files are in HTML format, and they are in the folder in on disk D.

D:\out\*.tiff is the directory of output files. The file extension TIFF in the command line indicates that the output format is TIFF, and all the output files must be stored in the folder out on disk D. Both the directories of the input and output files can be substituted.

3. Press “Enter”

Click “Enter” on the keyboard, you can master the computer to batch convert HTML to TIFF files in a second. You can view the effect of the output TIFF files in the selected output folder very soon. If you are interested in the methods of convert HTML to other files, you can also read the related articles at the knowledge base of VeryPDF. The following is the comparison between the original HTML file and the output TIFF file.

Before

clip_image004[4]

After

clip_image006[4]

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!