You can convertformat with HTML Converter Command Line and set many kinds of parameters at the same time such as bit depth which controls color information in an image.If you set bit depth as 1,the image will be a monochrome one because it can only contains two kinds of color,black and whit.If you set the value as 8,the image can store 256 color while 24-bit will be much more.
You can also change the size of image by setting the bit depth value.When the number of color in an image goes up,the file size will goes up,too.For example,to the same image,the size of 8-bit depth must be smaller than the one with 24-bit.
This article will tell you how to set the bit depth when converting http://www.verypdf.com/htmltools/htmltools.zip. Just unzip the file to some location of your computer and you will see a file named htmltools.exe which is the core of software HTML Converter Command Line,also the called program of the conversion of html to tif.format file and do a comparison between the same image with different bit depth value.First you should know some basic information about HTML Converter Command Line which is powerful HTML conversion software. 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.You can download the software at
The following steps show the process about convert html to tif.If you’re confused by this problem,please read this article.
1.Run cmd.exe program by clicking start menu and click “run” in the menu to launch “Run” dialog box.Then please input “cmd” in “open” edit box and click “OK” button.
2.This step is the most important one in the whole conversion.The command line to be inputted into cmd.exe dialog box contains called program—htmltools.exe,parameter—bit depth of target file,source file—html format file and target file which you want to get.You can follow the following command line structure to type your command line:
htmltools.exe –bitcount value www.verypdf.com output.tif
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -bitcount 8 "C:\Program Files\docPrint Pro v5.0\blank.emf" blank.tif
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" stands for the directory of htmltools.exe.It can be inputted or copied and pasted into cmd.exe dialog box.But the easiest way is to drag the file into the dialog.
-bitcount 8 is the value of bit depth.
"C:\Program Files\docPrint Pro v5.0\blank.emf" is the path of source file,which can also be dragged into cmd.exe dialog.
blank.tif is the name of target file.Please don’t forget the suffix or the source file will be converted into pdf file by default.
3.In current directory,you can find your target file.
Then we can make a comparison about the size between the same image with 8-bit and 24-bit depth.Please see Figure1 and Figure2.