Maybe you’re tired of converting image file to image file in a GUI and want to learn a new,convenient,efficient way to do the same work.So if you finish in reading this article,you will know how to rotate the page when you convertformat file in a command line with a command line application of VeryPDF HTML Converter--HTML Converter Command Line. You will master the method in a very short time even though you have never used a command line application before and don’t know DOS commands at all.You should just remember that it only contains called program,parameter,source file and target file in a conversion command line if you want to convert format file.
Before learning how to rotate the page when convertingwith a command line application,you should know what is HTML Converter Command Line first.
What is HTML Converter Command Line?
HTML Converter Command Line is a powerful HTML conversion software which 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. HTML Converter Command Line also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.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 is also compatible with the system in your computer.The download website of the software is http://www.verypdf.com/htmltools/htmltools.zip and you can click http://www.verypdf.com/htmltools/index.html to see the introduction of HTML Converter Command Line.
How to rotate the page when converting wmf to tga with HTML Converter Command Line?
In fact,the operating steps which is supposed of three parts are very easy.
1.You should run cmd.exe program first,in which you can input your conversion commands.Please click “start” at the left bottom of the desktop and click “run” in the menu.Then input “cmd” in “open” edit box and click “OK” button.You can also take the hot key method,just pressing “Windows”+ “R” on your keyboard to open “Run” dialog.Go on inputting “cmd” in it and click “OK”.Then you will see cmd.exe dialog box come out.
2.In the cmd.exe dialog box,please type the command line to convert wmf to tga and rotate the page of source file.The basic conversion command line structure is as follow:
htmltools.exe –rotate value “input.wmf” output.tga
htmltools.exe stands for the called program,which locates in the installation folder of HTML Converter Command Line.
–rotate value is the parameter about rotating page.
“input.wmf” is the source file.
output.tga is the target file.
Please write your command line referring to the one above.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 90 "C:\Documents and Settings\admin\Desktop\wmf\AN00932_.WMF" very.tga
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe.Don’t be afraid of a so long path,you can drag the file into cmd.exe dialog box directly.
-rotate 90 is the rotation angle of source file and the value can be set as 90,180 and 270.
"C:\Documents and Settings\admin\Desktop\wmf\AN00932_.WMF" is the path of source file which can also be dragged into cmd.exe dialog.
very.tga is the name of target file,including file name and suffix.
3.You can find your target file in current directory because you didn’t define any information about the path of target file in the command line and the file will be saved into current directory by default.