How to rotate the page while converting wmf to png?

What is wmf format file?

WMF, which is short for Windows Metafile Format, is a graphics container file format.WMF contains information which describes another file. WMF is proprietary windows graphic format developed by Microsoft,which contains a series of drawing operations, including commands for drawing lines, circles, and rectangles; may also contain bitmap drawing operations; used primarily for vector images, but can also include raster graphics.WMF files are smaller than other similar metafile formats, therefore they save space. They also have no actual file size as such since the format is device independent. The Windows Metafile Format, with the file extension of ‘.wmf’, is mainly used by graphic designers, advertising designers, product designers, and website designers.

Which software can be taken?

This article will introduce a powerful converting software to you called HTML Converter Command Line 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 application 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. The download website of HTML Converter Command Line is http://www.verypdf.com/htmltools/htmltools.zip. You can get the main introduction about HTML Converter Command Line by clicking the link http://www.verypdf.com/htmltools/index.html and read its user manual at http://www.verypdf.com/htmltools/htmltools-manual.htm.

How to rotate the page when converting wmf to png?

There are three steps to rotate the page when converting wmf to png format.The following contents are the steps for your learning.

1.Launch cmd.exe dialog box by the two ways below.

(1)Click “start”—“run” and input “cmd” in “open” edit box of “Run” dialog box.Then click “OK” and you can see the cmd.exe dialog box come out.

(2)Press “Windows”+ “R” on your keyboard will also be a good idea.

2.Input the command line which contains called program,parameter,source file and target file.The called program is the executable file in HTML Converter Command Line,which is called htmltools.exe.The source file is the wmf format file in your computer,which needs to be converted.Please write your command line according to the following one:

htmltools.exe –rotate value input.wmf output.png

NOTE:The command –rotate value is the rotation angle of source file and the value can be set as 90,180 and 270.

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -rotate 180 "C:\Documents and Settings\admin\Desktop\New Folder (2)\AN00790_.WMF" 01.png

"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe"  is the path of htmltools.exe,which can be dragged into cmd.exe dialog box for saving time.

-rotate 180 is the rotation parameter.

"C:\Documents and Settings\admin\Desktop\New Folder (2)\AN00790_.WMF" is the path of source file,which can also be dragged into cmd.exe dialog.

01.png  is the name of target file.Of course you can set the directory of target file here such as C:\Documents and Settings\admin\Desktop\New Folder1.png,then the file will be saved in C:\Documents and Settings\admin\Desktop\New Folder.

3.Find your target file in current directory,which marks the end of the conversion of wmf to png.

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!