This article will tell you how to convertand set the bit depth for bmp file.You can control the image size and obtain different effect image by setting the bit depth.Of course you should select a perfect software to be your assistant.HTML Converter Command Line is a good choice,which can 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.Someone don’t like command line application because it is boring to input many commands and maybe hard to understand.But if you have ever benefit from command line once,you will love it because it is convenient and quick.
The download website of HTML Converter Command Line is http://www.verypdf.com/htmltools/htmltools.zip. After installing the software in your computer,you should register it in cmd.exe dialog box.Please follow the steps below.
Click “start”—“run” like Figure1 and type “cmd” in “open” edit box like Figure2,then click OK.The hot key “Windows”+ “R” can help you,too.
Then you will see cmd.exe dialog box pop up,please see Figure3.You should change the current directory to the installation directory of HTML Converter Command Line by DOS command “cd” and click “Enter” button.Please see Figure4.Go on inputting the register code which you get when purchasing the software and end with “Enter” button on the keyboard.
The following steps are to show you how to do the conversion aboutand set the bit depth at the same time.
You’d better not close the current cmd.exe dialog box because you can input the command line in it next.If the screen is a little disordered,you can use the command “cls” to clear screen.The command line contains called program,parameter,source file and target file.You can type your command line referring to the next structure.
htmltools.exe –bitcount value www.verypdf.com output.bmp
htmltools.exe is the called program in the conversion of html to bmp.
–bitcount value is to set the value of bit depth.
www.verypdf.com is the URL of some webpage.When you run the conversion,htmltools.exe will search for the information on the webpage and download them,then convert them to bmp format file.
output.bmp stands for the target file.
Just see the following example command line in this conversion and you will understand the structure above better.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -bitcount 24 www.verypdf.com verypdf.bmp
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe.To save your precise time,you can drag the file from its folder into cmd.exe dialog box.
-bitcount 24 indicates the value of bit depth of bmp file.
www.verypdf.com is the URL of webpage which can be seen as source file.
verypdf.bmp is the name of target file.If you specify the directory for the target file here,it will be saved in the location you like.
After finding the target file in current directory,you can right click the file to see its properties and you will find the “Bit Depth” option has changed to 24.Please see Figure5.