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

Sometimes you can see some images are bright-coloured while some images are pale.Why?Because of different bit depth of image,the number of color which image stores is different.For example,an image with 1-bit depth can only store two kinds of color—white and black.But most of the colorful images in the computer or mobile phone are 24-bit depth which can store 16 million kind of color.

You can set the bit depth when converting emf to jp2 like the following steps.

Step1.Launch cmd.exe program

Please see Figugre1,you can click “start”-“run” and input “cmd” in “open” edit box like Figure2,then click “OK” button.

image

                                      Figure1.

image

                                       Figure2.

The hot key “Windows”+ “R” can also open the second dialog box showed in Figure2.

Step2.Input command line in cmd.exe dialog

Please see Figure3,you can input your command line to convert emf to jp2 format in cmd.exe dialog box.

image

                                                                              Figure3.

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

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  is the path of called program—htmltools.exe which is the executable file in software HTML Converter Command Line which will be introduced in the end of this article.

-bitcount 24  is the value of bit depth of target file.

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

If you don’t want to input such long paths like the called program and source file,you can drag the file you need into cmd.exe dialog box and the file will turn to directory itself enclosed with double quotes.

blank.jp2  is the name of target file.

Step3.Find the target file.

You can find your target file in current directory.Please see Figure4.The target file can be viewed by many kinds of viewer such as IrfanView,GSview,etc.

image

                                                                            Figure4.

HTML Converter Command Line is a powerful HTML software 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 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.If you want to convert emf to jp2 yourself,you can download HTML Converter Command Line at http://www.verypdf.com/htmltools/htmltools.zip and try it yourself.

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!