How to rotate the page while converting emf to gif?

You must want to know how to rotate the page when converting emf to gif just like converting the image in Figure1 to the image in Figure2.In essence,it is a very easy conversion if you can take the software HTML Converter Command Line which is a powerful HTML conversion product to allow 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. HTML Converter Command Line also allows you to convert web pages to PDF, PS (postscript), WMF, EMF vector formats.Just download the software at http://www.verypdf.com/htmltools/htmltools.zip and you should unzip the file to your computer.You don’t need to open a geographic user interface,you just need to input  an easy command line in cmd.exe dialog box to completer you conversion.

image

                                                               Figure1.Before conversion

image

                                                            Figure2.After conversion

You can follow the below steps to rotate the page when you convert emf to gif.

1.Run cmd.exe program by clicking “start”—“run” and input “cmd” in “open” edit box,then click “OK” button.Of course there is a quick way for your reference.You can press “Windows”+ “R” to open “Run” dialog box and input “cmd” in it,end with “OK” button.Then you can see dialog come out and it is the one you need—cmd.exe dialog box.

2.Input command line according to the basic structure like the following one shows:

htmltools.exe –rotate value “input.emf” output.gif

where

(1)htmltools.exe  stands for the called program which locates in the installation folder of HTML Converter Command Line.It is the core of HTML Converter Command Line and the most important element in the conversion of emf to gif.

(2)–rotate value  stands for the setting about rotating page.You can use other DOS commands to change many other parameters such as the page width,page height,page margin,resolution and so on.

(3)“input.emf”  stands for the source file.You can visit http://www.verypdf.com/htmltools/index.html to see which type of source file HTML Converter Command Line supports.

(4)output.gif   stands for the target file which you want to get.You can set the name and directory for the target file here to control the file name and the location of target file.

Please see the following example which can explain the structure above better and more visualized.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 90 "C:\Documents and Settings\admin\Desktop\test0001.emf" test.gif

where

(1)"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  stands for the path of htmltools.exe.When you call it,you should input the directory of it in cmd.exe dialog box.If you don’t want to input and fear of making mistake when typing a so long path,you can drag the file into cmd.exe dialog box,which is the easiest and most accurate way.

(2)-rotate 90  is the rotation angle of the source file.You can set the value as 90,180 and 270.

(3)"C:\Documents and Settings\admin\Desktop\test0001.emf"  stands for the path of source file.

(4)test.gif  stands for the file name and extension name of target file.Please attention here,you don’t specify the directory for the target file.After you click the “Enter” button to run the conversion of emf to gif,the target file will be saved in current directory.

You don’t have time to do other things because the conversion will be over in 1 or 2 seconds.Finding out the target file in your computer marks the end of the conversion.

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!