Someone may want to convertformat file and set the bit depth for the created bmp file.But they don’t know which software can be chosen and how to do the converting.This article will give you an advice about the software and tell you how to use the software to convert .
Which software can be chosen?
There is a kind of converting software called HTML Converter Command Line which is powerful enough 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 download HTML Converter Command Line at http://www.verypdf.com/htmltools/htmltools.zip and you should unzip the software because it is a zip file when just been downloaded.You should also register the software before using it.The register steps are as follows:
1.Run cmd.exe program by clicking “start”—“run” and input “cmd” in “open” edit box.
2.Change the current directory to the installation directory of HTML Converter Command Line by command “cd” which means change directory.
3.Input the register code in cmd.exe dialog box and end with “Enter” button.Please see Figure1.
How to convertand set the bit depth by using HTML Converter Command Line?
1.Launch cmd.exe program by pressing “Windows”+ “R” at the same time or take the way mentioned above.If you didn’t close cmd.exe dialog box just now,you can ignore this step.
2.Input command line which includes called program,parameter,source file and target file.
htmltools.exe –bitcount value “input.emf” output.bmp
The command line above is the basic structure command line to convert emf to bmp.You can write your command line referring to it.
htmltools.exe is the called program,which is also the executable file in HTML Converter Command Line.
–bitcount value is the parameter command about bit depth.
“input.emf” is the source file.
output.bmp is the target file.
Please see the example.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -bitcount 24 "C:\Program Files\docPrint Pro v5.0\blank.emf" blank.bmp
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe.If you are afraid that you will input a wrong path,please drag the file into cmd.exe dialog box directly.
blank.bmp is the name of target file.You can specify the directory for the file here such as C:\Documents and Settings\admin\Desktop\New Folder\blank.bmp
3.Find your target file in current directory.