You can convert url to image file because the image file is very easy to design,edit or modified by many kinds of graphics edit programs such as Photoshop,IrfanView,GSview,etc.There are so many image format such as BMP, JPG, TIF, TIFF, EMF, EPS, GIF, JP2, JPEG, PCX, PNG, PNM, PS, TGA and so on.You can also set the parameter for the image file such as rotation,resolution,height,width,etc when run the conversion.In this article,you will see how to rotate the page when converting url to image file with the software HTML Converter Command Line.
You may not heard of HTML Converter Command Line before.HTML Converter Command Line is a powerful HTML conversion product 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. 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. Please consider the command line as a very complex or mystical application.In fact,it is very easy to learn even you have never used it.First you should download HTML Converter Command Line at http://www.verypdf.com/htmltools/htmltools.zip and unzip the file into your computer.Then you will find there is an executable file in installation folder named as htmltools.exe which is the called program file in the conversion of url to image.It is the necessary element in the conversion.
First,you should have the cmd.exe program launched by clicking “start”—“run” and input “cmd” in “open” edit box of the popup dialog,then click “OK” button.There is also another way to run cmd.exe.You can press“Windows” + “R” and input “cmd” in “Run” dialog box,end with “OK”.
Second,input the command line in cmd.exe dialog box.The command line is supposed of called program which is htmltools.exe in HTML Converter Command Line,parameter which is used to set the rotation angle of source file,source file which is the one needs to be converted and the target file—the image file you want to get.
So the following structure will explain it better:
htmltools.exe –rotate value www.verypdf.com output.bmp(.tif, .tga, .jpg, .gif,etc.)
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 180 www.verypdf.com very.bmp
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" stands for the path of htmltools.exe.If you’re sick of inputting a so long path in cmd.exe dialog box,you can drag the file you need into cmd.exe dialog box.
-rotate 180 means the source file will be rotated by 180° clockwise.
www.verypdf.com is the URL of the webpage needs to be converted.When you run the conversion,htmltools.exe will search for the webpage online and download the information on it.
very.bmp is the name of target file.You can set the path for the target file here and the file will be saved in the location you set.
Third,find the target file in specified location of your computer,which means the process of converting url to image is over.