How to set the bit depth while converting emf to tif?

1.What is bit depth?

Bit depth indicates the color information stored in an image. The higher the bit depth of an image, the more colors it can store. The simplest image—black-and-white image is a 1 bit image which can only show two colors, black and white. That is because 1 bit can only store one of two values, 0 (white) and 1 (black). An 8 bit image can store 256 possible colors, while a 24 bit image can display about 16 million colors.

Along with resolution of image, the bit depth can control the size of the image. As the bit depth increases, the size of the image also increases because more color information will be stored for each pixel in the image.

2.Which software can be used to set the bit depth when converting emf to tif format file?

HTML Converter Command Line can be taken if you want to convert emf to tif and set the bit depth for target file.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.

The download website of HTML Converter Command Line is http://www.verypdf.com/htmltools/htmltools.zip. Attention please,HTML Converter Command Line is a zip file when just been downloaded to your computer and you should zip it to some suitable location.Then you will see an executable file in the folder named htmltools.exe which is the called program in the conversion of emf to tif.

3.How to convert emf to tif and set the dit depth of target file?

In the command line application,you can fulfill the conversion in a very short time.The command line to convert emf to tif contains called program—htmlotools.exe,parameters—the bit depth of target file,source file—emf format file which you want to convert and target file which you want to get.

First you should run cmd.exe program by clicking “start”—“run” and input “cmd” in “open” edit box.Then click “OK” button.Or you can use the hot key “Windows”+ “R” to realize the same function.Then you can input command line in popup cmd.exe dialog box.There is a basic structure of command line to convert emf to tif:

htmltools.exe –bitcount value “input.emf” output.tif

You can type your command line referring to the structure above.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -bitcount 1 "C:\Program Files\docPrint Pro v5.0\blank.emf" blank.tif

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  is the path of htmltools.exe.If you don’t want to input a so long path in command line,you can drag the file you need into the dialog.

-bitcount 1 stands for the parameter about bit depth.You can set the value as 1,8 or 24.

"C:\Program Files\docPrint Pro v5.0\blank.emf"  is the path of source file.

blank.tif  is the name of target file including file name and extension name.

After you converting emf to tif,you can find your target file in current directory and see the properties of the image.You will see bit depth has been changed to 1.

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

This entry was posted in HTML Converter (htmltools) and tagged . Bookmark the permalink.

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!