How to set the bit depth while converting html to tga?

image

                                                                          Figure1.

Figure1 shows a htmltools.exe format file.Maybe someday you need to convert the document of html to tga format and set some parameters for the image such as bit depth.But how to fulfill such a kind of task and do it perfectly? A converting software which supports converting html to tga is necessary.HTML Converter Command Line will be a suitable one because it 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.HTML Converter Command Line also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.

Please convert html to tga as the following steps show.

  • Run cmd.exe program by pressing “Windows”+ “R” on your keyboard at the same time and in the popup dialog input “cmd” in “open” edit box.Then click “OK” button.
  • Input command line in cmd.exe dialog box.The command line has a basic structure which contains called program,parameter,source file and target file.You can type your command line referring to the structure as follow:

htmltools.exe –bitcount value www.verypdf.com output.tga

htmltools.exe  stands for the called program in the conversion of html to tga.You can see the file after installing HTML Converter Command Line  in your computer.

–bitcount value  is the value of bit depth which can be set as 1,8 or 24 bit.

www.verypdf.com  is the URL of some webpage which can be seen as source file.You can also convert the local html format file to tga file.

output.tga  stands for the target file.You can define the name of the file.

Here is the example to apply the command line above and you can see the value of bit depth is set as 8-bit.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -bitcount 8 www.verypdf.com verypdf.tga

  • The target file will be found in current directory in a few seconds.You can see the target file in Figure2.

image

                                                                            Figure2.

So if you want a colorful image,you can set the bit depth as 24 bit.But if you only care about the size of image,you can set the bit depth as 1 or 8 bit,which will make the image as a smaller file.

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!