How to convert wmf to jp2 in a command line?

If you want to convert wmf to jp2 in a command line,you can use a kind of powerful software named HTML Converter Command Line.This is a kind of converting 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.

The command line application of HTML Converter 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 https://www.verypdf.com/htmltools/htmltools.zip and you can know some main information about it by visiting https://www.verypdf.com/htmltools/index.html. At https://www.verypdf.com/htmltools/htmltools-manual.htm  you can also read the user manual of HTML Converter Command Line.

The following contents are the steps of converting wmf to jp2 format.You will get some useful information here.

Step1.Run cmd.exe program.

There are two methods to run cmd.exe.

Method1.You can click image button and click “run” in the start menu like Figure1.Then input “cmd” in “open” edit box in Figure2 and click “OK” button.

image

                                   Figure1.

image

                                   Figure2.

Method2.You can also use the hot key “Windows” + “R” to open the dialog box in Figure2.Then do the same operation mentioned above.

Step2.Input command lines.

Then you can input dos commands in cmd.exe dialog box.The command should contain called program,source file,target file or not(if you don’t define the target file,the source file will be converted to pdf file by default).Please see Figure3.

image

                                                                          Figure3.

The commands are "C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" "C:\Program Files\Microsoft Office\CLIPART\PUB60COR\AN00010_.WMF" 1.jp2

Interpretation to the command lines

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"   is the path of called program—htmltools.exe which is the most important role in the conversion of wmf to jp2.

"C:\Program Files\Microsoft Office\CLIPART\PUB60COR\AN00010_.WMF"  is the path of source file.

1.jp2  is the name of target file which contains file name and extension name.

NOTE:You can see there is no definition to the location of target file,which means the file will be saved in current directory automatically.If you specify the path of target file,it will be saved in the location you have set.

Step3.Find the target file.

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

image

                                                                          Figure4.

image

                                                                          Figure5.

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!