If you want to convertin 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 http://www.verypdf.com/htmltools/htmltools.zip and you can know some main information about it by visiting http://www.verypdf.com/htmltools/index.html. At http://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 convertingformat.You will get some useful information here.
Step1.Run cmd.exe program.
There are two methods to run cmd.exe.
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.
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.