Convert MHTML to JPG
Turn MHTML files into JPEG. A screenshot of the whole saved page as a desktop browser shows it in a window 1280 pixels wide unless width says otherwise, with the stylesheets and images it carried, saved as a JPEG at quality 90 unless asked otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MHTML files on the dialor turn it to pick what to do
A picture of a saved web page.The whole page, as a browser shows it, in one JPG file.
What you get
One JPG that shows the whole saved page as a desktop browser draws it in a window 1280 pixels wide. The stylesheets and images stored in the MHTML file are used, so the page looks as it did when it was saved.
The picture is saved at quality 90 unless you change it.
Size and tall pages
Set Width (px) to change how wide the picture is, from 320 to 3840 pixels. The height follows the aspect ratio unless you also give a height, and then the picture can be stretched.
A JPG holds at most 65,500 pixels on a side. A page taller than that is scaled down to fit.
Quality
Set Quality to a value from 1 to 100. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
JPG is lossy, so the picture is not an exact copy of what the browser draws. It has no transparency.
MHTML and JPG.What each format is, and the options this conversion takes.
- 01 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90 - 02 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
320 to 3840 default 1280
The formats
MHTML
A web page and its images saved as one MIME file, what browsers call a web archive.
- Extensions
- .mhtml .mht
- MIME type
- multipart
/related - Kind
- Text and data
JPEG
Lossy photo compression that every device and browser opens. Small files, no transparency.
- Extensions
- .jpg .jpeg .jfif .jpe
- MIME type
- image
/jpeg - Kind
- Images
In your code.The same MHTML to JPG conversion through the API, for your app or your agent.
$ cv convert report.mhtml report.jpg$ cv convert report.mhtml report.jpgQuestions.What people ask about MHTML to JPG.
The whole saved page is captured, from top to bottom, as one picture.
Yes. Set Width (px) to a value from 320 to 3840. The default is 1280.
A JPG holds at most 65,500 pixels a side. If the page is taller than that, the picture is scaled down to fit.
No. The result is one JPG file. For other options, see every MHTML conversion.