If you want to rotate the page when converting emf to jp2 in a very short time very perfectly,maybe HTML Converter Command Line will be a powerful assistant.There are many converting software of VeryPDF for different using,while HTML Converter Command Line 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.You can visit the website https://www.verypdf.com/htmltools/index.html to see the introduction of HTML Converter.You will find HTML Converter Command Line is one application of HTML Converter and the other one is the GUI version.You can download the command line application at https://www.verypdf.com/htmltools/htmltools.zip and the GUI application at https://www.verypdf.com/htmltools/winhtmltools.exe. They have the advantages respectively.For example,the GUI version is more visualized for its friendly interface,while the command line version is more convenient and fast.It’s up to you to select which version should be used.
This article will give you some tips to rotate the page when converting emf to jp2 format file with the command line application of HTML Converter.
1.Please click the start menu at the left bottom of your desktop and click “run” in the popup menu.In the popup dialog box please input “cmd” in “open” edit box and click “OK” button to run cmd.exe program.You can also use the hot key “Windows”+ “R” to open “Run” dialog box.
2.Write the command line in cmd.exe dialog box to rotate the page when converting emf to jp2.There are three necessary elements in the command line—called program,source file and target file and an optional element—parameter which can be set to change the resolution,page width,page height,page margin,rotation angle,etc. by different DOS command.For example,you can use –rotate value in this conversion to set the rotation angle.Please see the following basic structure,you can refer it to write your own command line.
htmltool.exe –rotate value “input.emf” output.jp2
where
(1) htmltool.exe is the called program.When you install HTML Converter Command Line in your computer,you can see the executable file in the installation folder.
(2) –rotate value is the rotation angle to change the page of source file,which has been mentioned above.
(3) “input.emf” stands for the source file.
(4) output.jp2 stands for the target file.
If you can not understand the structure above,please see the following example.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 90 "C:\Documents and Settings\admin\Desktop\test0001.emf" test.jp2
where
(1) "C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of called program.
(2) -rotate 90 means the source file will rotate 90° clockwise.
(3) "C:\Documents and Settings\admin\Desktop\test0001.emf" is the path of source file.
You will find the paths of called program and source file are very long and are hard to input in cmd.exe dialog box.There are two easier ways:You can copy the path you need and right click your mouse in cmd.exe to paste the path or drag the file you need into cmd.exe dialog box directly.
(4) test.jp2 is the name of target file, including file name and extension name.
You will find your target file in current directory because you didn’t set any information about the directory of target file in command line and the system will save it in current directory by default.
You can also set the path for the target file such as C:\Documents and Settings\admin\Desktop\New Folder\test.jp2 and the file will be saved in C:\Documents and Settings\admin\Desktop\New Folder surely.