Maybe you have never accept a mission which requires you rotate the page when convertingbefore.You should know that not every software support the function to convert file and rotate the page at the same time.You can take two ways to fulfill this task:Convert and rotate the page in a same software,or convert url to picture first,then rotate the image page in other software such as Photshop,IrfanView,GSview or Windows Picture and Faxes Viewer of Windows operating system itself.
You can use HTML Converter Command Line to convert url to picture and rotate the page at the same time or convert url to picture only by changing one element in the command line about the rotation angle of source file.
You should know what is HTML Converter Command Line before learning how to use it.
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.The download website is http://www.verypdf.com/htmltools/htmltools.zip and remember to unzip the file to your computer before using.
The following part are the steps to rotate the page when converting url to picture.Here we take jpg format file as the example of picture.
Step1.Run cmd.exe program
Please take one of the following two ways to run cmd.exe program.
Method1.Click “start”—“run” and input “cmd” in “open” edit box,then click “OK” button.
Method2.The hot key “Windows”+ “R” can also realize the same goal.
Step2.Input command line
If you want to rotate the page when converting url to picture,the command line will contain called program,parameter,source file and target file;If you want to convert url to picture only,the command line will includes called program,source file and target file.
There are two basic structures for your reference.
- Rotate the page when converting url to picture:htmltools.exe –rotate value www.verypdf.com output.jpg
- Only convert url to picture:htmltools.exe www.verypdf.com output.jpg
htmltools.exe stands for the called program which can be seen in the installation folder of HTML Converter Command Line.
–rotate value is the parameter about the rotation angle which can be set as 90,180 and 270.The source file will rotate according the value clockwise.
www.verypdf.com can be seen as source file.
output.jpg is the target file.
The following example will be a good interpretation to the command line above for your better understanding.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 180 www.verypdf.com very.jpg
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe.You can drag htmltools.exe from the folder into cmd.exe dialog box for convenience.
-rotate 180 is the rotation angle which is set as 180°.
www.verypdf.com is the URL of some webpage.
very.jpg is the name of target file.
If you want to convert url to picture only,you can ignore -rotate 180 in the command line.
Step3.Find the target file
You can find your target file in current directory because you didn’t specify the location for the target file in command line.
There are many other articles about HTML Converter Command Line at the website http://www.verypdf.com/wordpress/ and you can read them.