How to set bit depth when convert EMF to PCX?

VeryPDF HTML Converter Command Line supports command line as well as bit depth or color depth setting; hence, you can use VeryPDF HTML Converter Command Line to set bit depth can convert EMF to PCX via a command line. This can greatly enhance the work efficiency, especially when you have a great many of documents to deal with. You can free download VeryPDF HTML Converter Command Line from http://www.verypdf.com/htmltools/index.html#dl and have dozens of times to try the free trial version.

If you need to set bit depth, you should pay attention to the command -bitcount <int> , which can be used to set bit depth. The following part of this article would like to introduce a method to set bit depth and convert EMF to PCX via a command in three steps.

1. Run the command prompt window

To run the command prompt window will require four steps: click “Start”; > click “Run” on the home menu; > enter “cmd” in the “Run” dialog box;>click on “OK” in the “Run” dialog box. When you see the black and white command window, please proceed to the next step.

clip_image002

2. Enter a command line

According to the following command line pattern, four parts should be included in the command line: three files and the command for setting bit depth.

htmltools -bitcount <int> <EMF file> <PCX file>

  • htmltools ---- the executable file, whose full name should be htmltools.exe.
  • -bitcount <int> ---- the command for setting bit depth. This command only allows three parameter values: 1, 8 or 24. int means integer, and the angle brackets mark essential contents. If the command is -bitcount 1, the result image file will be monochrome; if it is -bitcount 8, grey will be added to the image; if the command is -bitcount 24, the result image file will become colorful, and is capable of storing 224 possible colors.
  • <EMF file> ----the input file in EMF format
  • <PCX file> ---- the output file in PCX format

The command line pattern above can only simply tell what factors should be included. However, when you enter a command line in the command prompt window, you need to enter the whole directories of the executable file, the input file and output file instead of their names. For instance,

D:\htmltools\htmltools.exe -bitcount 24 D:\in\ro.emf D:\out\ro.pcx

In the example above, the whole directories of the executable file, the input file and the output file, but not the bare names, appear in this command line. The directories in the example should be replaced with the real directory of the executable file, the input file and the output file in your computer.

  • D:\htmltools\htmltools.exe----the directory of the executable file htmltools.exe, which is always placed in the folder called htmltools. In this example, this folder has been placed on disc D.
  • -bitcount 24 ---- the command indicates 24-bit is the bit depth for the output file converted from EMF to PCX. 24 can be changed to be 1 or 8, according to your needs.
  • D:\in\ro.emf ---- the directory of the input EMF file. It leads the computer to find the file named ro in the folder in on disk D.
  • D:\out\ro.pcx ---- the directory of the output file. As implied by the file extension, PCX is set to be the output format. Furthermore, ro should be the name of the output file, which is in the folder out on disk D.

3. Press “Enter”

Press the “Enter” key, and VeryPDF HTML Converter Command Line will convert EMF to PCX in a wink. The images below are the original EMF file, and the files converted from EMF to PCX.

The original EMF file

clip_image004

1-bit PCX file

clip_image006

8-bit PCX file

clip_image008

24-bit PCX file

clip_image010

clip_image011

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!