How to rotate the page while converting wmf to tif?

Only three steps can present the process of rotating the page when converting wmf to tif.But before learning how to do,we should know what is the tool.

The tool used in the conversion of wmf to tif is a software named HTML Converter Command Line which is a powerful converting software based on command line.You can call HTML Converter Command Line 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 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.You can call HTML Converter Command Line in cmd.exe program which is a converting platform for you to input DOS commands.You can donwload HTML Converter Command Line at the following website:https://www.verypdf.com/htmltools/htmltools.zip and unzip it to your computer.You can also learn the main information about HTML Converter Command Line at its homepage https://www.verypdf.com/htmltools/index.html and read the user manual at https://www.verypdf.com/htmltools/htmltools-manual.htm.

The following part is the steps to rotate the page when converting wmf to tif.

  • Run cmd.exe program by two ways:Clicking “start”—“run” and input “cmd” in “open” edit box,then click “OK” button or use the hot key “Windows”+ “R” to open “Run” dialog and input “cmd” to run cmd.exe program
  • Input command line in cmd.exe dialog box.The command line contains called program,parameter,source file and target file.You can follow the structure below to write your command line.

htmltools.exe –rotate value “input.wmf” output.tif

htmltools.exe is the called program which is also the executable file in HTML Converter Command Line.You can see it in installation folder.

–rotate value is the parameter to rotate page.

“input.wmf”  stands for source file.

output.tif  stands for the target file.

You can see the following example for your better understanding.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 180 “C:\Documents and Settings\admin\Desktop\wmf\AN00853_.WMF" test.tif

where

(1)"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  is the path of htmltools.exe.You can drag the file into cmd.exe dialog box directly.

(2)-rotate 180 is the rotation angle of page,which can be set as 90,180 and 270.

(3)"C:\Documents and Settings\admin\Desktop\wmf\AN00853_.WMF"  is the path of source file.

(4)test.tif  is the name of target file.You can specify the name and directory for the target file according to your will.

  • After hitting the “Enter” button on your keyboard,the conversion will run itself and what you have to do is waiting for no more than 1 second.Then you can see the target file in current directory.

There are more articles about HTML Converter Command Line at https://www.verypdf.com/wordpress/, please click the link to read them.

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!