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

What is jp2 file format?

The file with .jp2 suffix is known as a JPEG 2000 core image file. Jp2 files are a type of raster image or picture which is supposed of tiny dots called pixels rather than geometric shapes and lines. It was created by the Joint Photographic Experts Group committee in 2000 with the intention of superseding their original discrete cosine transform-based JPEG standard.The aim of JPEG 2000 is not only improving compression performance over JPEG but also adding (or improving) features such as scalability and editability.

Which software can be used?

HTML Converter Command Line is a 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. 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.

After downloading HTML Converter Command Line at the website, you should unzip the file to some location in your computer and before using it,please register the software if you want to use all the functions without any limitations.Just press “Windows”+ “R” and input “cmd” in “open” edit box in “Run” dialog box,then click “OK” button.Please use DOS command “cd” to change the current directory to installation directory of HTML Converter Command Line and click “Enter” button.Input the register code which you get when purchasing the software online and end with “Enter”.

How to set the bit depth when converting emf to jp2 format file?

The right converting method can decrease much work time.There are only three steps to convert emf to jp2 and set the bit depth for target file.Please go on reading this article.

1.If you have not closed cmd.exe dialog box just now,you can skip this step and input command line directly.If not,you should click “start”—“run” and input “cmd” in “open” edit box,then click “OK” button,or use the quick way mentioned above.

2.In the popup cmd.exe dialog box,you should input the command line which contains called program,parameter,source file and target file.There is a basic structure for you to follow.

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

htmltools.exe  is the called program in the conversion of emf to jp2.

-bitcount value is the value of bit depth which you can set by yourself.

“input.emf”  is the source file.

output.jp2  is the target file.

Please see the following example and you will understand the command line above better.

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

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  is the path of htmltools.exe.The path seems too long to input or remember.Please just take the easiest way—dragging the file into cmd,exe dialog box from its folder and the file will turn to path enclosed with double quotes at once.

-bitcount 24 is the value of bit depth.

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

blank.tga  is the name of target file.

3.The target file can be found in current directory because you didn’t specify the path for it in the command line.

If you want to know more things about HTML Converter Command Line,please visit to read more articles.

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!