Many people never heard of mht format and don’t know how to deal with this kind of format file.But one day,if you received a task which need to convert a document of mht to picture.Maybe someone will shout:Oh,Jesus!How can I do this work?I even don’t know what is mht!Don’t worry,this article will introduce the format to you and tell you how to fulfill this task.
MHTML which is short for MIME HTML is a web page archive format for combining resources which are typically represented by external links together with HTML code into a single file.This format is sometimes referred to as MHT, after the suffix .mht given to such files by default when created by Microsoft Word, Internet Explorer, or Opera.
If you want to convert mht to picture,a kind of converting will be needed.When you choose a software,it should be cheap,fast and easy to master.HTML Converter Command Line is a good choice which is very cheap at price fast in speed and most important,easy in operating.
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.HTML Converter Command Line 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 steps of converting mht to picture will be interpreted in following contents in details.
Step1.Run cmd.exe program
You can run cmd.exe by two ways.
(1)The regular way.Click “start” – “run” and input “cmd” in “open” edit box of the popup dialog box.Then click “OK” button.
(2)Hot key.You also can press “Windows”+ “R” to open cmd.exe dialog box.
Step2.Input command line in cmd.exe
The command line should contain called program,source file and target file.The main structure of the command line should be like this:
“htmltools.exe” “input.mht” output.gif(or.bmp, .tiff, .jpg,etc.)
htmltools.exe stands for the called program.It is the executable file in HTML Converter Command Line.
input.mht is the source file.
output.gif is target file.You can change the suffix as other picture format showed in parenthesis.
If you can not understand the command line well,you can see the following example.
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" "C:\Documents and Settings\admin\Google.mht" google.gif
"C:\Documents and Settings\admin\Local Settings\Temp\htmltools\htmltools.exe" is the path of called file which can be dragged into cmd.exe dialog box directly.
"C:\Documents and Settings\admin\Google.mht" is the path of source file.
google.gif is the name of target file,including file name and extension name.You can specify the directory for target file here.Or the file will be saved in current directory.
Step3.Find your target file in some location
You can read more articles about HTML Converter Command Line at the website