Setting the width and height of web browser when converting html to gif

It becomes an easy task to set the width and height of web browser when you convert html to gif if you use HTML Converter Command Line.This article will teach you how to convert html to gif and set width and height at the same time first,then introduce HTML Converter Command Line to you and tell you where to download.

Step1.Run cmd.exe program

You can click start menu and click “run” like Figure1.Then input “cmd” in the dialog like Figure2.Then click “OK” button.





Step2.Input command line

You can see Figure3.The commands in cmd.exe dialog refer to the command line structure as the below one:

htmltools.exe –bwidth value –bheight value output.gif

The command line includes called program,parameter,source file and target file.



"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -bwidth 10 -height 20 verypdf.gif

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  is the path of htmltools.exe.You can drag the file from its folder to cmd.exe dialog box.

-bwidth 10 -height 20  stands for the value of width and height of web browser,which can be set by yourself according to your will.  is the URL of webpage.Of course you can convert local html to gif format file only by dragging the html file into cmd.exe dialog box as the source file.

verypdf.gif  is the name of target file.You can specify directory for the target file or not in the command line.

Step3.Find the target file.

If you didn’t set the path for target file,you will find it in current directory.Or the file will be saved in the location just been specified.

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. HTML Converter Command Line 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. You can download HTML Converter Command Line at After you unzipping the software to your computer,you can see the executable file—htmltools.exe in the folder.

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!