Convert EML to PNG
Turn EML emails into PNG files. The sender, recipients, date, subject and the names, types and sizes of attached files above the message as it was formatted, with its inline images, on A4 unless page_size says otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop EML files on the dialor turn it to pick what to do
An email as pictures of its pages.Sender, recipients, date and subject sit above the message, one PNG per page.
What you get
Each page of the formatted email becomes one PNG. At the top are the sender, recipients, date and subject. Below them come the names, types and sizes of any attached files, then the message with its inline images.
The pages are A4 at 150 dpi unless you change Page size, Resolution (dpi) or Width (px).
How the message is drawn
Plain text is set in Noto Serif. An HTML message uses the fonts it names, and similar fonts take the place of any that are not installed.
Images linked from the web are left out. Inline images are kept.
What it leaves behind
Attached files are not included. You get their names, types and sizes in the header, but not their contents. Attached text files such as .csv are not listed at all.
Size and pages
Set Page size to Letter for North American paper, or to auto so each page takes the size of its own content. Raise Resolution (dpi) for a sharper picture. Around 150 reads well on screen, and 300 is the usual choice for print. A higher value makes a bigger file.
Set Width (px) to fix the exact width of the result. The height follows the aspect ratio unless you also give it, and then the picture can be stretched.
Set Pages to a list such as 1-3,7 to convert only some pages. Every page is read when it is left out. To shrink the result, try compress PNG.
EML and PNG.What each format is, and the options this conversion takes.
- 01 · dpi
Resolution (dpi)
How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.
36 to 600 default 150 - 02 · page_size
Page size
The size of the pages written. A4 is the standard in most of the world and Letter in North America.
a4210 × 297 mm.letter8.5 × 11 in.autoEach page takes the size of its own content.
- 03 · pages
Pages
Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.
- 04 · 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.
1 to 20000
The formats
Email Message
A single email as sent over the wire. Headers, body and MIME attachments.
- Extensions
- .eml
- MIME type
- message
/rfc822 - Kind
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same EML to PNG conversion through the API, for your app or your agent.
$ cv convert report.eml report/ --to png$ cv convert report.eml report/ --to pngQuestions.What people ask about EML to PNG.
No. Attached files are not included. Their names, types and sizes appear above the message.
One PNG per page, so a long email gives several files.
No. Images linked from the web are left out. Inline images are kept.
Yes. Set Page size to Letter. The default is A4.