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

You can convert emf to tif format file in a very short time and set the bit depth at the same time with the help of command line.There is a command line application of the software HTML Converter which 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. It also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.

HTML Converter command line application can be called from within ASP, VB, VC, Delphi, BCB, Java, .NET and COM+ etc. program languages. It uses advanced techniques to allow efficient asynchronous multithreaded operations.

You can download HTML Converter command line at the website http://www.verypdf.com/htmltools/htmltools.zip and get the main information at http://www.verypdf.com/htmltools/index.html. If you want to know more functions about HTML Converter command line,please visit http://www.verypdf.com/htmltools/htmltools-manual.htm to read the user manual of the software.

Some one don’t want to apply command line because it is a little boring and sometimes seems to be hard understanding.Don’t worry,the command line has a basic structure when you converting emf to tif file and you can type your command line refer to the basic one,only need to do some little changes.The command line is supposed of called program,parameter,source file and target file.

The first step

You have two methods to run cmd.exe program.

Method1.Click “start”—“run” and input “cmd” in “open” edit box of the popup dialog box.Then click “OK” button.

Method2.Press “Windows”+ “R” on your keyboard at the same time and input “cmd” in “Run” dialog box.

Then you will see cmd.exe dialog box.

The second step

Just input command line like the following main structure:

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

htmltools.exe  stands for the called program.It is the executable file in the software HTML Converter command line and you can see the file after installing it in your computer.

–bitcount value  stands for the parameter of bit depth.

“input.emf”  stands for the source file.

output.tif  stands for the target file.

There is an example to explain the command line above.

"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"  is the path of called program—htmltools.exe.

-bitcount 8  is the value of bit depth.

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

The paths of called program and source file are a little long to input.You can decrease your operating time by the following two ways.

(1)Copy the path of the file and right click your mouse to paste the path in cmd.exe dialog box.

(2)Drag the file you need into cmd.exe dialog box directly.

blank.tif  is the name of target file.Please don’t forget the suffix.You can also set the directory for the target file here,and the file will be saved in the specified location.

The third step

After converting emf to tif format,you will find your target file in current directory and you can choose some viewer to browse the file such as IrfanView,GSview,etc.

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!