This article will show you how to rotate the page when converting wmf to tiff with HTML Converter Command Line from three steps which are very easy to operate and master.You should know HTML Converter Command Line first because it can be seen as the most important part in the conversion of wmf to tiff.It is also very necessary to know the main information about the tool for better using in the future.
HTML Converter Command Line is a powerful HTML conversion product. It allows you to create previews or thumbnails of web pages in a number of different formats, such as TIF, TIFF, JPG, JPEG, GIF, PNG, BMP, PCX, TGA, JP2 (JPEG2000), PNM, etc. It also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.HTML Converter command line application can be called from within ASP, VB, VC, Delphi, BCB, Java, .NET and COM+ etc. program languages. It uses advanced techniques to allow efficient asynchronous multithreaded operations. HTML Converter Command Line will also be compatible with the system in your computer.Please download HTML Converter Command Line at https://www.verypdf.com/htmltools/htmltools.zip. Then unzip and install it in your computer for further using.You will find there is an executable file in the installation folder of HTML Converter Command Line.It is the core of the software and plays a significant role in the conversion of wmf to tiff.
The first step
You should run cmd.exe program by clicking “start”—“run” and input “cmd” in “open” edit box of the popup dialog box,then click “OK” button.Please see Figure1 and Figure2.You can also press “Windows”+ “R” on your keyboard at the same time to open “Run” dialog box where you should input “cmd” and end with “OK” button.The purposes of two ways are the same.
Figure1.
Figure2.
The second step
You should input the command line to convert wmf to tiff and rotate the page in cmd.exe prompt dialog box.Please see Figure3 in which there is an example for your understanding.
Figure3.
The commands are
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 90 "C:\Documents and Settings\admin\Desktop\wmf\AN00914_.WMF" 01.tiff
where
(1)"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe.
(2)-rotate 90 is the rotation angle of source file.It means the source file will rotate by 90° clockwise.
(3)"C:\Documents and Settings\admin\Desktop\wmf\AN00914_.WMF" is the path of source file.
NOTE:If you don’t like to input the paths of called program and source file,please drag the file into cmd.exe dialog box directly to save you precise time.
(4)01.tiff is the name of target file,which can be set freely by you.
Then we can get a basic template of the command line as follow:
htmltools.exe -rotate<int> “input.wmf” output.tiff
where
The int value of the rotation angle can be set as 90,180 and 270.
The third step
From the command line we can see there is no information about the path of target file,so it will be saved in current directory.Please see Figure4.
Figure4.
Please trust HTML Converter Command Line,it will be the strength when you are weak in your office work!