You can set the vertical resolution when convertingformat file if you use HTML Converter Command Line.Maybe you will ask what is vertical resolution.In fact,vertical resolution indicates the number of rows, dots or lines from top to bottom on a printed page, display screen or fixed area such as one inch. Contrast with "horizontal resolution," which is the number of elements, dots or columns from left to right.
You also should know something about the software HTML Converter Command Line which is a powerful converting software. It 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. HTML Converter Command Line 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.
By using HTML Converter Command Line,you can set many parameters of target file,such as the height,width,horizontal an vertical resolution,etc.You can download HTML Converter Command Line at https://www.verypdf.com/htmltools/htmltools.zip and get the main information of the software at https://www.verypdf.com/htmltools/index.html. If you want to know more functions about HTML Converter Command Line,you can visit https://www.verypdf.com/htmltools/htmltools-manual.htm.
Step1.Run cmd.exe program
Click “start”—“run” and input “cmd” in popup dialog box,then click “OK” button.Please see Figure1 and Figure2.
Step2.Input command line
You should input command line in cmd.exe dialog box to convertfile.The command line contains called program,source file and target file.If you have downloaded HTML Converter Command Line and unzip it to some location of your computer,you will see an executable file in the folder—htmltools.exe which is the called program in the conversion of emf to jpg.You can type your command line in cmd.exe referring to the following structure:
htmltools.exe –yres value “input.emf” output.jpg
htmltools.exe stands for the called program.
-yes value stands for the value of vertical resolution.You can also see it as the resolution in Y direction.
“input.emf” stands for the source file.
output.jpg stands for the target file.
Please see Figure3 to see the example of command line.
The whole commands are "C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" -yres 500 "C:\Program Files\docPrint Pro v5.0\blank.emf" blank.jpg
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of htmltools.exe.If you don’t want to input a so long path,you can drag the file you need into cmd.exe dialog box.
-yres 500 is the vertical horizontal value.
"C:\Program Files\docPrint Pro v5.0\blank.emf" is the directory of source file.
blank.jpg is the name of target file.Please don’t forget the extension name.
Step3.Find the target file.
You will find your target file in current directory.If you want the file saved in other location of your computer,you can set the path for the file in command line.